- This topic has 14 replies, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 15 posts - 1 through 15 (of 15 total)
Viewing 15 posts - 1 through 15 (of 15 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › Duplicate recurring events in list
Hi,
On this page https://waterlilyproject.suckerfishuk.net/events-training/ duplicate events are showing up even though I’ve set the shortcode as follows:
[eme_events scope=today--future template_id=1 limit=0 showperiod=monthly show_recurrent_events_once=1]
Can you help please?
What is your template looking like (the one with template id 1)?
Also: what is the content of the single event “notes”?
Hi Franky,
If possible, post the content directly, not a screenshot. And also: what is the content of the single event “notes”?
The single event “notes” doesn’t exist?
This is the template code:
#_LINKEDNAME
#_EVENTDETAILS
#_NOTES
(“notes” is in fact “Details about the event”).
From the documentation:
#_EVENTDETAILS (or #_NOTES) displays the details of the event
You are using both, so it gets displayed twice …
Ah OK thank you!
Hi,
Sorry I’m still having an issue with this.
Although the events now only display once, I have recurring events that are happening in Jan and Feb etc. but no events are displaying for Feb. Only Jan and March.
Remove the show_recurrent_events_once=1
Yes I get that but why doesn’t the event show (once) for Feb with this code?
It displays for Jan and March.
show_recurrent_events_once=1
As you can see this event occurs in Feb:
https://waterlilyproject.suckerfishuk.net/events/art-therapy-course/
But it doesn’t display here:
https://waterlilyproject.suckerfishuk.net/events-training
Well … apparently because I use group by and order by, and mysql (and mariadb) changed the way it functions:
https://stackoverflow.com/questions/1066453/mysql-group-by-and-order-by
So for this case, I’ll need to figure out another method of doing things.
See if this helps:
https://plugins.trac.wordpress.org/changeset/2018012
Yes it does help.
The fix worked – thank you very much Franky.