Events Made Easy Forums How do I … Show message on page if fully booked

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #57107
    Anonymous
    Inactive

    Hi, I use a shortcode on a page to display the form. When that event is full, is stops showing the form. Perfect. But I like to inform my visitors that the event is fully booked. I can’t find an option for this. Is there a solution?

    #57109
    Franky
    Keymaster

    Check out the conditional tags (eme_if): compare the number of booked seats with the total and show a message if full (also search this forum for examples)

    #57111
    Franky
    Keymaster
    #57117
    Anonymous
    Inactive

    Thanx!

    #57119
    Anonymous
    Inactive

    Where do I put this conditional code? Tried it on the page, but that doesn’t work.

    This is my page:

    [eme_add_booking_form id=4]
    [eme_if tag='#ESC_RESERVEDSPACES' ge='#ESC_TOTALSPACES']<span style=”color:#F29849;font-weight:bold;font-size: 110%;”>This event is sold out!</span>[/eme_if]

    #57121
    Franky
    Keymaster

    Inside your single event format. Don’t use the eme_add_booking_form shortcode if you don’t have to, use #_ADDBOOKINGFORM inside your single event format too.

    [eme_if tag='#ESC_RESERVEDSPACES' ge='#ESC_TOTALSPACES']<span style=”color:#F29849;font-weight:bold;font-size: 110%;”>This event is sold out!</span>[/eme_if]
    [eme_if tag='#ESC_RESERVEDSPACES' lt='#ESC_TOTALSPACES']#_ADDBOOKINGFORM[/eme_if]
    #57124
    Anonymous
    Inactive

    Ok, so I should not make a new page and use the shortcode. Do I understand it right that I have to make a hyperlink to the parmelink of the event? Then I have to do this manually, cause in WordPress it’s not recognised as a page. Also, when I want a hyperlink to this event in the main menu of the site, I have to create a custom link since it’s not recognised by WordPress.
    Also, when I have to link directly to the permalink, I can’t format the page (e.g. custom header image).

    I’ve read all the documentation of EME, but this part is not clear to me. I use EME only for 1 event at a time.

    #57125
    Franky
    Keymaster

    If you just want to show a single specific event, use the shortcode [eme_event], see http://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_event/ (templating and all).

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