Events Made Easy › Forums › How do I … › Show message on page if fully booked
- This topic has 7 replies, 2 voices, and was last updated 8 years ago by
Franky.
-
AuthorPosts
-
Wed 6 Dec 2017 at 11:34 #57107
Anonymous
InactiveHi, 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?
Wed 6 Dec 2017 at 11:43 #57109Franky
KeymasterCheck 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)
Wed 6 Dec 2017 at 11:51 #57111Franky
KeymasterSee this thread for a starting example:
http://www.e-dynamics.be/wordpress/forums/topic/put-an-availability-traffic-light-image-to-the-event-single-page/Thu 7 Dec 2017 at 10:09 #57117Anonymous
InactiveThanx!
Thu 7 Dec 2017 at 11:23 #57119Anonymous
InactiveWhere 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]Thu 7 Dec 2017 at 18:26 #57121Franky
KeymasterInside 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]Thu 7 Dec 2017 at 21:47 #57124Anonymous
InactiveOk, 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.
Fri 8 Dec 2017 at 00:22 #57125Franky
KeymasterIf 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).
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.