It depends on what info you want to display. This snippet should give you some ideas: http://pastebin.com/hDhPkAWg
Thank you for your response.
I would like to display the booking’s standard email, company, total purchase, and status fields, plus some custom fields.
The snippet you suggested seems to produce the same identical results as the snippet in attendeeslist.php. I therefore still need some hints on where to discover the php names of the above-mentioned fields and the syntax for custom fields in php.
Is there such documentation available?
Thank you in advance.
Thank you for your response.
I have EMpro.
As mentioned above, on a new page, I am trying expand the output of
[events_list]#_ATTENDEESLIST[/events_list]
The above only returns the names of the people that have booked.
I would like to obtain other fields also.
I have no idea how get #_BOOKINGFORMCUSTOM{field_id} working in the shortcode above to expand the output with the field_id that I need.
I looked at attendeeslist.php and it seems that the output is defined by
echo ‘
- ‘. $EM_Booking->get_person()->get_name() .’
‘;
Could you please provide advice on how to modify the php above to get the field_id values that I need?
Thank you in advance.
How are the fields you want to display stored? Are they part of the attendee form?
The fields I am trying to display are in the EMpro > Forms Editor.
They are also displayed in the EM booking form displayed to visitors of the event post. I repeat that we are using No-User bookings.
The values provided by visitors during their booking appear normally in the EM > Bookings admin pages.
Therefore I conclude that the field data is stored by EM, which is why I wrote to this forum.
Our goal is to be able to use as needed, on a new page, the shortcode [events_list]#_ATTENDEESLIST[/events_list] and obtain in output the fields defined in the Forms Editor beyond just the name (ex: John Doe) given for each booking.
sorry the forum is messed up (maybe because you put a snippet that you did not use wp code wrap?) can you repost this in a new forum instead and just add this forum link as reference ?