Events Made Easy Forums Generic Duplicate recurring events in list

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #59464
    Anonymous
    Inactive

    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?

    #59465
    Franky
    Keymaster

    What is your template looking like (the one with template id 1)?
    Also: what is the content of the single event “notes”?

    #59466
    Anonymous
    Inactive
    #59467
    Franky
    Keymaster

    If possible, post the content directly, not a screenshot. And also: what is the content of the single event “notes”?

    #59468
    Anonymous
    Inactive

    The single event “notes” doesn’t exist?

    This is the template code:

    #_LINKEDNAME
    #_EVENTDETAILS
    #_NOTES

    #59469
    Franky
    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 …

    #59470
    Anonymous
    Inactive

    Ah OK thank you!

    #59471
    Anonymous
    Inactive

    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.

    #59472
    Anonymous
    Inactive
    #59473
    Franky
    Keymaster

    Remove the show_recurrent_events_once=1

    #59474
    Anonymous
    Inactive

    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

    #59475
    Anonymous
    Inactive
    #59479
    Franky
    Keymaster

    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.

    #59480
    Franky
    Keymaster
    #59486
    Anonymous
    Inactive

    Yes it does help.

    The fix worked – thank you very much Franky.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top