Events Made Easy › Forums › Generic › Duplicate recurring events in list
- This topic has 14 replies, 2 voices, and was last updated 6 years, 9 months ago by
Anonymous.
-
AuthorPosts
-
Wed 23 Jan 2019 at 16:33 #59464
Anonymous
InactiveHi,
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?
Wed 23 Jan 2019 at 16:42 #59465Franky
KeymasterWhat is your template looking like (the one with template id 1)?
Also: what is the content of the single event “notes”?Wed 23 Jan 2019 at 16:58 #59466Anonymous
InactiveWed 23 Jan 2019 at 17:34 #59467Franky
KeymasterIf possible, post the content directly, not a screenshot. And also: what is the content of the single event “notes”?
Wed 23 Jan 2019 at 17:36 #59468Anonymous
InactiveThe single event “notes” doesn’t exist?
This is the template code:
#_LINKEDNAME
#_EVENTDETAILS
#_NOTESWed 23 Jan 2019 at 17:47 #59469Franky
Keymaster(“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 …
Wed 23 Jan 2019 at 18:02 #59470Anonymous
InactiveAh OK thank you!
Wed 23 Jan 2019 at 18:27 #59471Anonymous
InactiveHi,
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.Wed 23 Jan 2019 at 18:27 #59472Anonymous
InactiveWed 23 Jan 2019 at 19:11 #59473Franky
KeymasterRemove the show_recurrent_events_once=1
Wed 23 Jan 2019 at 19:21 #59474Anonymous
InactiveYes 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
Wed 23 Jan 2019 at 19:22 #59475Anonymous
InactiveAs 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-trainingThu 24 Jan 2019 at 00:03 #59479Franky
KeymasterWell … 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-bySo for this case, I’ll need to figure out another method of doing things.
Thu 24 Jan 2019 at 00:36 #59480Franky
KeymasterSee if this helps:
https://plugins.trac.wordpress.org/changeset/2018012Thu 24 Jan 2019 at 13:11 #59486Anonymous
InactiveYes it does help.
The fix worked – thank you very much Franky.
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.