Support

Home Forums WP User Integration [ESPRESSO_MY_EVENTS] only showing first event registered (using multi-event reg)

[ESPRESSO_MY_EVENTS] only showing first event registered (using multi-event reg)

Posted: May 19, 2016 at 1:55 pm

Viewing 5 reply threads


Mazzy

May 19, 2016 at 1:55 pm

Hello I am seeing only the first event registered using this shortcode.

Here are some screen shots to explain.

http://jfk.wpengine.com/ss/1.png
http://jfk.wpengine.com/ss/2.png
http://jfk.wpengine.com/ss/3.png
http://jfk.wpengine.com/ss/4.png


Josh

  • Support Staff

May 19, 2016 at 2:59 pm

Hi there,

That should have both events listed, unless if there was another name/email address was input for the registration form for the other event. Can you check to see if that happened?


Mazzy

May 19, 2016 at 4:57 pm

Hey Josh thank you for replying, I may see the problem.
I’m using css to display:none for

Use Attendee #1’s information for ALL attendees
This option allows you to use the above information for all additional attendee question fields. Please note: some events may have additional questions that you may still be required to answer in order to complete your registration.

And by default it is unchecked.

In the events the sets of questions are arranged like this
http://jfk.wpengine.com/ss/questions.jpg

Would this be fixed if that was selected by default in the system and then hidden? Is there a way to do that if so? Thanks for any insight


Tony

  • Support Staff

May 20, 2016 at 4:49 am

Hi there,

No that won’t help, its happening because the My Events section shows the registrations that are assigned to your EE contact. The additional registrations your taking when collecting child info are not assigned to the Primary registrants contact as EE creates a new contact for them.

The ‘My Events’ section is actually working as expected, but not as your expecting for your events. I’ve requested some feedback from our developers to see if there is anything we can do for this.


Mazzy

May 20, 2016 at 8:26 pm

Thanks Tony.
If there were a way to just replace that first event name with the date of the purchase (take off the link) that would work for me. Once you are inside it shows the tickets and the receipts. That’s all I need really.


Tony

  • Support Staff

May 24, 2016 at 3:40 am

The my events sections shows registrations that have not been fully paid and not just Approved registrations, so adding a ‘date of purchase’ would not be fully accurate. However you can add the transaction date or just use the registration date in that field (registration date being the easiest).

You’ll need to create your own custom template (based on the original) and rplace the sections you want to there.

Within /eea-wp-user-integration/templates/ you will find content-espresso_my_events-event_section.template.php that’s the template you need to edit.

Grab a copy and place it within your child themes root directory.

On line 15 you’ll find the code to output the link:

<a aria-labelledby="<?php printf( __( 'Link to %s', 'event_espresso' ), $event->name() ); ?>" href="<?php echo get_permalink( $event->ID() ); ?>"><?php echo $event->name(); ?></a>

You can change that to anything you prefer, for the registration date you can replace that with something like this:

<?php 
	$first_registration = reset($registrations);
	echo $first_registration->date();
?>

Which looks something like this – http://take.ms/VN1Ku

That will then output the registration date and remove the link.

Viewing 5 reply threads

The support post ‘[ESPRESSO_MY_EVENTS] only showing first event registered (using multi-event reg)’ 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