smlemanwebmaster
Forum Replies Created
-
I found the registration info.
Moving to pro forum.Many thanks, I achieved what I intended.
In attendeeslist.php I replaced the original
echo '<li>'. $EM_Booking->get_person()->get_name() .'</li>';
with
echo '<li>'. $EM_Booking->output("#_BOOKINGFORMCUSTOM{user_name}") .',';
echo ' '. $EM_Booking->output("#_BOOKINGFORMCUSTOM{user_email}") .</li>';
which outputs the usual list of names followed by the email.Strangely, I cannot get the first record listed to output correctly.
All I get for the first record is just the name, like before.
All is fine starting with the second record and so on.I do not have much php experience.
Would you have a tip to help me discover why the output is as expected only from the second record onward?Thank you in advance.
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.
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.
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 kind reply and explanations.
If I may state a preference, I find the full survey report more useful than the last 100.
With regards to displaying the count of responses received, I can design the survey to have obligatory responses for each chart-able question. Then the number of responses is equal to the number of respondents (if there are less than 100). The total number of respondents is magically displayed atop the table in the “View all Feedbacks” page of the plugin. Unfortunately I have no idea how to make that value appear as part of the available report. Any tip that could help me achieve this would be appreciated.
I meant, in question 1, “they do not display the SUM of responses received”