• Resolved OlegD

    (@olegd)


    I’m using my own template containing something like “Event link {has_spaces}REGISTER{/has_spaces}”

    It worked correctly for a while, but today I’ve found that REGISTER label is shown for all events, even if “End of booking date” is in the past.

    Any hints, how to show it ONLY if booking is allowed (not expired in my case)?

    • This topic was modified 9 years, 7 months ago by OlegD.
    • This topic was modified 9 years, 7 months ago by OlegD.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Which version of Events Manager are you using? Where are you using the conditional placeholder?

    Thread Starter OlegD

    (@olegd)

    EM version is 5.6.6.1

    Events/Settings/Formatting/Events/Events Page

    Default event list format:

    
    ...
    <td>
    #_EVENTLINK {has_spaces}<sup><span class="uk-text-success">[REGISTER]</span></sup>{/has_spaces}
    {has_location}<br/><i>#_LOCATIONNAME, #_LOCATIONTOWN #_LOCATIONSTATE</i>{/has_location}
    </td>
    ...
    

    Does it work if you simplify to:

    {has_spaces} REGISTER {/has_spaces}

    Thread Starter OlegD

    (@olegd)

    Nope, I just double-checked, but got the same issue – REGISTER appears near the every event within the list.

    Can you post a link to where this is happening? I haven’t been able to replicate this problem.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘{has_spaces}’ is closed to new replies.