Comments (3)
Based on a quick code review (not tested yet), this only happens because "eme-2024" is already taken as a slug by something else in EME, so EME starts from the beginning (removing "-" and all numbers at the end of a slug and start with just "eme", then "eme-1" etc ...).
from events-made-easy.
I'm using "EME" just as an example. The full title of the event is "Children's Drawing Class 2024". However, EME does not allow my slug to be "childrens-drawing-class-2024". I can only put it as "childrens-drawing-class2024".
I have tried it with various different names with the same result and I'm sure these names do not clash with other posts and events.
Edit: Just to add that this occurred in Recurring Events. I have not tested it for Single events.
from events-made-easy.
In general slugs are made unique by adding '-' followed by a number to it.
For recurrences, the same reasoning exists: recurring events exist of a series of single events and single events can't have the same slug. The first one would have childrens-drawing-class-2024, but the second one would have childrens-drawing-class (removing "-" followed by numbers until the end), the third one childrens-drawing-class-2, etc ...
To avoid such a difference, I remove the "-" and the numbers to begin with (for a recurrent series) and so the events will have as slug childrens-drawing-class, childrens-drawing-class-2, childrens-drawing-class-3, etc ...
However, there was a small glitch when wanting to change the slug for an event that ended with "-" followed by a number (the change was ignored in that case). Now the change will go through (after checking the new slug is unique of course or making it unique by adding a number again). The next version will correct that, but it won't change your "problem".
from events-made-easy.
Related Issues (20)
- The booking form is no longer displayed HOT 1
- Custom field "JavaScript date" decrements by one day with each submission of the form where used HOT 24
- Strange thing since last update HOT 6
- RE Captcha doesn't work HOT 5
- Plugin update through Wordpress not working HOT 4
- 2.4.44 implemented #_IS_USER_IN_GROUP for Dynamic Groups but broke #_IS_USER_IN_GROUP for registered groups in EME HOT 7
- Error when copying an event HOT 2
- replies-to always the email from the admin HOT 2
- sorting on the 'membership' column returns nothing HOT 1
- Issues with mailing to unpaid bookings HOT 1
- Calendar links not showing HOT 4
- Stripe payment submit/redirect stopped working HOT 1
- Issue with mailing HOT 8
- Issue with the payment button HOT 8
- Impossible to update to the last version 2.4.51 HOT 1
- The "Cleanup action" form is confusing in Swedish translation HOT 1
- event frontend submit form and custom fields HOT 15
- Error WP with the last update HOT 2
- Revise error message in "eme-locations.php" for error while importing HOT 2
- Programming an event from the frontend does not save the correct times
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from events-made-easy.