Posted: July 5, 2017 at 6:25 pm
|
I found the instructions on how to do this, but it references a .php file that does not exisespresso_event_attendees.php is not in that folder for EE4. Please advise. How to customize the Attendee list templates |
Hi there, There are multiple template files that make up the output, so the docs are trying to be general as it depends on what you want to change.
Can you let me know what it is your trying to change/output? |
|
|
I am trying to customize the attendee list template per the instruction on this page: https://eventespresso.com/wiki/ee4-shortcodes-template-variables/#event-attendees Here is the page: http://www.vhsvipers.com/football/v83117/ I am trying to code to the templates to display information obtained from the registration questions. |
|
I did copy over content-espresso_event_attendees.php into my child theme template. No changes to the output, so it does not appear to be reading that file. |
The name of the file needs to be an exact match of the original, and you’ll need to make sure it’s in the root/main level of the child theme folder. in other words, if your child theme has folders, the file cannot be located inside one of the folders. |
|
|
It is an exact match and is in the root/mail level. |
There’s also some caching involved with that particular shortcode. You can make sure you’re not viewing cached content by setting the cache expiration for the Attendee shortcode to 0.
You can add the above to a functions plugin, then activate the plugin. After the plugin is activated, the list will no longer be served from a cache. |
|
|
Josh, Michelle Jones — a:1:{i:0;s:4:”11th”;} |
Hi there, The system questions are actually stored elsewhere so your code to retrieved those will be different. For example the phone number can be retrieved with:
Not exactly. Some of the question types are multiple choice so the answer is formatted as an array. In which case you will need to loop through the array to display the answer value(s). |
|
The support post ‘Customize Attendee List’ 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.