Events Made Easy Forums Generic Start & end time display in default single event format fails on multi-day event

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #58388
    Anonymous
    Inactive

    In my Default single event format field I have this code:
    <p>#_STARTDATE [eme_if tag="#ESC_STARTDATE" notvalue="#ESC_ENDDATE"]to #_ENDDATE [/eme_if] - #_STARTTIME to #_ENDTIME</p><p>#_TOWN</p><p>#_NOTES</p><p>#_ADDBOOKINGFORM</p>

    Displays start date, end date if not same as start date, and then start time and end time.

    When looking at a single event that is single day, the start and end times display as expected. Live example:
    http://sociocracyconsulting.com/events/14/grow-thrive-in-residential-community-living-with-sociocracy/

    When looking at a single event that is multi-day, the start and end times do not display. Live example (same site, same code):
    http://sociocracyconsulting.com/events/13/fun-and-inclusive-decision-making-foundations-of-sociocracy/

    Additional info for troubleshooting:
    I am using identical code (except for HTML tags and other placeholders) for the Default list event format, as follows:
    <li>#_STARTDATE [eme_if tag="#ESC_STARTDATE" notvalue="#ESC_ENDDATE"]to #_ENDDATE [/eme_if] - #_STARTTIME to #_ENDTIME<br /> #_LINKEDNAME<br />#_EVENTFIELD{location_name}</li>

    In the event listing, this does work correctly for both single day and multi-day events, as shown here for the two event examples above:
    http://sociocracyconsulting.com/events/

    #58389
    Franky
    Keymaster

    Just tried your code here: works fine for a single event or the event listing.
    Make sure your single event is in fact using the format you defined …

    #58390
    Anonymous
    Inactive

    I had a custom template for the multi-day event. I thought it was appended to default rather than complete override, but now I understand it is a complete override. My mistake, apologies, no bug here.

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