Support

Home Forums Event Espresso Premium Display attendees' answer to custom question

Display attendees' answer to custom question

Posted: January 16, 2013 at 3:03 pm


Daniel Riou

January 16, 2013 at 3:03 pm

Hi,

I would like to display all the attendees for one of my event and display the company they are from. I have read on your old forum that this was in project for version 3.2. Is it still in project? Is there anyway to run around before then?

Thanks,

Daniel Riou


Josh

  • Support Staff

January 16, 2013 at 3:24 pm

Hi Daniel,

3.2 has been delayed, so we’ve tried to add as many of the planned 3.2 features into 3.1. The answers shortcode is something we’ve added to 3.1.

You can use the [EE_ANSWER] shortcode in connection with the [LISTATTENDEES] shortcode to do what you’re after.

It does involve some template modifications, but there are step by step directions on how to set it up here:

https://eventespresso.com/wiki/answers-shortcode/


Daniel Riou

January 19, 2013 at 10:25 pm

Ok thanks, I don’t understand where do I add the newly created custom question variable to the markup. Is it in the attendee_list.php file?


Josh

  • Support Staff

January 21, 2013 at 10:58 am

Hi Daniel,

That’s correct. If you open up /templates/attendee_list.php and look at lines 87 & 88, there is some commented out sample code there that will help you get started. You can uncomment one of those lines (remove the double slashes before the code) and change the question ID to use the question you’d like to display the answer for.

The support post ‘Display attendees' answer to custom question’ 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.

Event Espresso