Support

Home Forums Event Espresso Premium Publish the Registrant's information Part 2

Publish the Registrant's information Part 2

Posted: June 10, 2017 at 12:18 pm

Viewing 6 reply threads


clifford choi

June 10, 2017 at 12:18 pm

Part 1: https://eventespresso.com/topic/publish-the-registrants-information/

All I understand is that i need to edit the file “content-espresso_event_attendees.php”, I don’t even know what the “loop” file is.

With that said, looking at the example given here:
https://gist.github.com/joshfeck/63fe625950c9a71e19be

I have absolutely no idea what is going on. Where do i get the question’s ID?

Would it be possible that I give you access to the site? and help me edit that file so that it shows some of the registration information:

1. belt color (ascending order)
2. gender/age/weight category (ascending order)
3. First name
4. last name
5. team name

Would really appreciate some help, thanks!


Josh

  • Support Staff

June 12, 2017 at 7:20 pm

Hi Clifford,

You can get the Question’s ID by going to the Event Espresso > Registration Form. The first column next to each question displayed there shows the Question’s ID.

With regards to getting access to your site and writing the PHP code to your specifications, this falls outside of the scope of support and falls within the scope of building customizations. I would estimate that adding all those fields to a custom template would involve about 1 hour of customization work. You could get a quote from a developer or if you could buy some priority support tokens and EE staff could get this done.


clifford choi

June 20, 2017 at 1:05 am

Hi Josh,

Where can I see the price of tokens?

Thanks!


clifford choi

June 20, 2017 at 1:49 am

Hi Josh,

Nevermind. A friend contacted me and said he can help (thank you for that suggestion). Hope it works out! Thanks again!


clifford choi

June 27, 2017 at 11:41 pm

Hi,

So I checked about the Event Espresso plugin , what we want to do wouldn’t be easy to make it real as ESPRESSO_EVENT_ATTENDEES doesn’t contain EE_Answer object (the data from Registration form)

So if we wish to do so, php to perform sql query would be a way to do it. So I’ll need some sort of php plugin? Is this correct?


Josh

  • Support Staff

June 28, 2017 at 1:36 pm

Not correct. If you look at the example code I shared with you earlier, on lines 14-26 you’ll see how to get the answer to the registration form question by using the EE4 Model system. The model system handles all of the sql queries for you.


clifford choi

June 28, 2017 at 10:13 pm

Thank you Josh! I shared what you said to our developer and he will have a look again.

Cheers

Viewing 6 reply threads

The support post ‘Publish the Registrant's information Part 2’ 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