• Resolved Ben Rothman

    (@brothman01)


    How do I put a link to the ticket URL on the template ONLY IF there is a ticket URL specified? I feel like I saw this somewhere but I cannot find the syntax and I do not see it in the documentation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Something like {event_tickets before="<a href='" after="'>Buy Tickets</a>"} should work.

    This will be easier soon; I’m introducing PHP templating in the next major release. But it’ll be a couple of months, yet.

    Thread Starter Ben Rothman

    (@brothman01)

    that is awesome, I am excited. Yes the “{” instead of “[” made the Buy Tickets link conditional based on whether or not it was declared, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Conditional Logic on a Template’ is closed to new replies.