Events Made Easy Forums How do I … Problem with listings when they start and end on the same day

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

    Hi Franky,

    I have been using the following code for some time now without any problems, but if

    I have an event that starts on a Saturday and ends on a Saturday it doesnt show the end date in the lists.

    This is the code I use.

    <ul>
    <li><a href="#_ATT{EXTERNAL_LINK}{#_EVENTPAGEURL}">#_NAME</a>
    #_{l j M Y} [events_if tag=”#ESC_{l j M Y}” notvalue=”#ESC@_{l j M Y}”] #@_{- l j M Y} [/events_if] #_12HSTARTTIME [events_if tag=”#ESC_12HSTARTTIME” notvalue=”#ESC_12HENDTIME”] - #_12HENDTIME [/events_if] </li>
    </ul>

    So if I enter an event that starts on Saturday 21 April and ends on Saturday 28 April, my listing will just show the start date – Saturday 21 April?

    If I change the end day to a different day it shows up, so I must have something wrong with my code?

    Many thanks in advance for your help.

    #49702
    Franky
    Keymaster

    Your quotes are wrong: you’re using slated quotes, while it should be straight quotes.

    So don’t use:

    but use:

    In your case:

    <ul>
    <li><a href="#_ATT{EXTERNAL_LINK}{#_EVENTPAGEURL}">#_NAME</a>
    #_{l j M Y} [events_if tag="#ESC_{l j M Y}" notvalue="#ESC@_{l j M Y}"] #@_{- l j M Y} [/events_if] #_12HSTARTTIME [events_if tag="#ESC_12HSTARTTIME" notvalue="#ESC_12HENDTIME"] - #_12HENDTIME [/events_if] </li>
    </ul>

    #49703
    Anonymous
    Inactive

    Oh yes. Sorry Franky. You are a star!

    Many thanks for your help.

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