Support

Home Forums Event Espresso Premium Cannot get Multi Event Registration to work

Cannot get Multi Event Registration to work

Posted: August 27, 2013 at 5:49 pm


Stephen Johnson

August 27, 2013 at 5:49 pm

WP v. 3.6
EE v. 3.1.41.1.P
MER v. 1.0.4

I think I don’t understand the template heirarchy of EE because when when I fill out an event’s registration information, it doesn’t go to the confirmation page. Instead it reloads the page with the registration form on it with all the field being blank.
When I was not using MER, EE worked perfectly for a single event.
I am not sure where to put the shortcodes and which shortcodes to use. The documentation is not very clear.

What I would like to do is:
1. Create a page that has a listed summary of events on it
2. From that page go a single page which describes the event in detail which will have a link to the registration page for that event


Josh

  • Support Staff

August 27, 2013 at 7:41 pm

Hi Stephen,

If you can post a link to the registration page that you’re having trouble with Multi Event Registration on we can take a look.

In a nutshell to get this:

What I would like to do is:
1. Create a page that has a listed summary of events on it

You can create a page and place the [EVENT_LIST] shortcode on it. There are parameters that are documented for this shortcode here:

https://eventespresso.com/wiki/shortcodes-template-variables/#event-list

There are options that you can configure to control the display in the event list in Event Espresso>Template settings as well:

https://eventespresso.com/wiki/template-settings/#templateoptions

2. From that page go a single page which describes the event in detail which will have a link to the registration page for that event

What Event Espresso does is save one click by combining the registration page and event in detail on one page. If you really prefer the extra clicks you can go to the event options box of the event editor and set “Display registration form?” to No which will remove the form from that page. Then at that point you could add [ESPRESSO_CART_LINK] at the end of event’s description to make a registration link.

This guide in the documentation outlines more steps on how to move all the registrations to use the Multi Event Registration feature:

https://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/


Stephen Johnson

August 27, 2013 at 8:03 pm

I’ll go through these pages and let you know if the issue gets resolved.
Thanks.


Stephen Johnson

August 27, 2013 at 8:40 pm

Following these steps made everything worse and broke my layout completely — repeated events multiple times on a page and added info from another event.

Should I Delete both EE & MER and reinstall?


Josh

  • Support Staff

August 27, 2013 at 10:01 pm

Reinstalling will only help if any of the core Event Espresso files have been modified and everything gets removed from /wp-content/uploads/espresso/templates.

I took a look at the page here:

http://www.menscenterlosangeles.com/eventsprograms/

and it looks like the layout issue is being caused by the inline styles that are added in the second event’s description that are floating divs to the left without clearing them. This will break layouts. You might consider adding a clearfix to a parent div container to contain those floats:

http://css-tricks.com/snippets/css/clear-fix/


Stephen Johnson

August 27, 2013 at 10:32 pm

I caught that and will fix, but the actual EE is still just looping back to a cleared registration page and after I fill out the form it will not go to the registration overview page where the end user verifies heis/her info and the go on to PayPal.

I cannot figure out what is going on and it is driving me nuts.

Take a look at this page and fill it out and you will see what I mean:
http://www.menscenterlosangeles.com/events/wine-tasting-and-jazz-under-the-stars/


Stephen Johnson

August 27, 2013 at 10:56 pm

Josh,
Another thing that is happening is the links are not going to the right event page.

For example: go to this page:
http://www.menscenterlosangeles.com/eventsprograms/
Scroll down to the second event (The 26th Annual Sacred Path Men’s Fall Retreat) and click on the event title bar. You will see it takes you to the Wine Tasting event (ID 6). Even though when you scroll over the title bar and you see the link in your browser it says it is going to ID 5 (which is correct).

And once on that page – even though it says it is a registration page, you cannot register on the page – there is no link to do so.


Josh

  • Support Staff

August 28, 2013 at 9:07 am

Stephen,

Are any of these events set to have “Alternate Registration URLs” or have “Display registration form?” set to No?

screenshot of the event options box

If so, these settings may need to be changed back to their defaults.


Stephen Johnson

August 28, 2013 at 9:29 am

Settings on both event:
Display Description: set to NO
Display Registration Form: set to Yes
Alternate Registration Page: blank

Could the issue be that I am creating a post for both events using the checkbox near the bottom of the Add Event admin page?


Stephen Johnson

August 28, 2013 at 9:30 am

By the way, I have the Post Type set to ‘Post’ on both these events.


Stephen Johnson

August 28, 2013 at 9:44 am

Correction, they are both set to ‘Event Espresso’

I tried setting both to ‘Post’ and everything disappeared.


Josh

  • Support Staff

August 28, 2013 at 10:04 am

When using the event posts feature, the /events/ slug is reserved for the post archive. So what you will need to do is create a separate page for processing registrations and name it with any other name than Events.

To set up a new page for processing registrations, you place the [ESPRESSO_EVENTS] shortcode on the page and go into Event Espresso>General settings and point the Main registration page to your new page.


Stephen Johnson

August 28, 2013 at 10:27 am

OK – created a page ‘Register for Event’ and added the [ESPRESSO_EVENTS] shortcode, set the template to Espresso Events and still the same thing – after filling out the form and ‘submitting’ it, it loops through back to a page in the newly created ‘Register for Events’ which now shows both events with empty fields.


Josh

  • Support Staff

August 28, 2013 at 10:52 am

Hi Stephen,

I checked again, and there are still templates that have been copied over to /wp-content/uploads/espresso/templates. Can you try this using the default templates by temporarily re-naming this directory?


Stephen Johnson

August 28, 2013 at 11:14 am

When I remove those files, the events go to the 404 page. Whether or not CPT is active or not.


Josh

  • Support Staff

August 28, 2013 at 11:41 am

In that case you will need to download and install a fresh copy of Event Espresso from your account page. Event Espresso will function without any templates in /wp-content/uploads/espresso/templates with the exception where the built-in templates have been removed from event-espresso/templates.


Stephen Johnson

August 28, 2013 at 12:05 pm

I did that yesterday – but I’ll try it again.


Stephen Johnson

August 28, 2013 at 12:07 pm

And I also deactivated all plug-ins – still did the same thing. Tried it on the WP default theme with no active plug-ins, same thing occurs.


Stephen Johnson

August 28, 2013 at 12:31 pm

Ok – deleted EE and re-installed. Before re-install, renamed the /uploads/espresso to /uploads/esspresso – do not use.

The issue persists!


Josh

  • Support Staff

August 28, 2013 at 12:35 pm

Hi Stephen,

I re-read through your replies and I think I found the root of the issue. In this comment:

OK – created a page ‘Register for Event’ and added the [ESPRESSO_EVENTS] shortcode, set the template to Espresso Events and still the same thing – after filling out the form and ‘submitting’ it, it loops through back to a page in the newly created ‘Register for Events’ which now shows both events with empty fields.

set the template to Espresso Events is the step that’s breaking things. The template should be set to a regular page template like Full Page or Default, not Espresso Events. The Espresso Events template is used to display the custom post types. It is not used to process the events, which is the function of the [ESPRESSO_EVENTS] shortcode. When you set this page to use a post archive template the [ESPRESSO_EVENTS] shortcode will not be parsed.

So to summarize: the [ESPRESSO_EVENTS] shortcode processes event registrations (including the cart views). It needs to be on a page that’s using a standard WordPress page template.

The Espresso Events page template can be optionally used to display an archive of custom events posts and should not be used on the same page as the [ESPRESSO_EVENTS] shortcode. I am sorry I didn’t catch this earlier.

After making this change the Main Registration page setting in Event Espresso>General Settings needs to point to the page that has the [ESPRESSO_EVENTS] shortcode on it.


Stephen Johnson

August 28, 2013 at 12:47 pm

FINALLY! Thanks Josh for your attention and staying on top of it for me!

1 more quick question:
On my events/programs page
http://www.menscenterlosangeles.com/eventsprograms/
How do I get just the excerpt from the Event Posts page to show instead of the entire event layout for each event?


Josh

  • Support Staff

August 28, 2013 at 8:57 pm

Usually the more tag can be used as a separator.

<!--more-->

The support post ‘Cannot get Multi Event Registration to work’ 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