Posted: December 12, 2012 at 2:40 pm
|
Need Space Available text on Event Registration page and can Attendee names/list be a public link? Thank you! http://dfdgold.cocodesignsinc.com/event-registration/?ee=121 |
Hello again, Cindy. You’ll need to paste this shortcode into the event description (with the text): Make sure you add the appropriate event id. You can find that in the URL when you are in the event overview. You can use [LISTATTENDEES event_identifier=”your_event_identifier”] to show a single event using the event identifier. More info about shortcodes here: |
|
|
Thanks Jonathan! Do these shortcodes work with recurring events? |
|
Hi Cindy, Yes the shortcodes will work with recurring events as the shortcodes are using the event identifier or the event id, which are always unique. |
|
Does that mean I need to manually modify these shortcodes for every recurring event or is it automatic? Thank you! |
|
Hi, Unless you modify the template files to use PHP to obtain the event id, it will have to be manually done. Here is some code you can use in the templates For the available spaces
and for the list attendees
|
|
Ok, thank you. Can you please tell me which Template files I need to modify? |
|
Sorry, yes of course, the registration_page_display.php. Please follow the usual modification route and copy it to the uploads/espresso/templates folder and edit it there. You will also need to copy the registration_page.php file. |
|
Is there code that I need to remove and replace with the above? Thank you! (a little new to modifying code) Not sure where to put the suggested code. 🙂 |
Hi Cindy, In this case, you wouldn’t be removing any code. You can place the code where you’d like it to be displayed. For example, if you wanted to display it just above where it displays the date info you’d add it right around line 122 (in the current version) so it will look like this:
Please note: If you customize and change the template code from the defaults we’ve created and tested, it becomes your job to maintain it. What this means is if we update registration_page_display.php and or registration_page.php in a future update, you’ll need to keep those changes in sync with your custom version of these templates. |
|
|
Thank you! Works great! |
The support post ‘Need Space Available text on Event Registration page’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.