Support

Home Forums Event Espresso Premium REM Template question

REM Template question

Posted: October 24, 2012 at 7:16 pm

Viewing 9 reply threads


Greg Phillips

October 24, 2012 at 7:16 pm

When I add the 2 Recurring Events Templates to “wp-content/uploads/espresso/templates/” the Event page displays my events nicely with a Register Now link that drops down and shows all recurring events. However, clicking on a “Register Now” link again just reloads the same page – it won’t take me through the registration process. If I restore the original two EE templates with the same names as the REM templates, the registration flow returns to normal, however, I no longer have the desired drop-down options for the recurring events.

Appreciate your direction. What am I missing?


Josh

  • Support Staff

October 25, 2012 at 7:42 am

Hi Greg,

I’m sorry for the trouble. There have been a few recent changes to the core Event Espresso plugin that make it necessary to update the REM template files, and the updates haven’t been rolled into a new version of REM.

I uploaded the modified files here:

https://gist.github.com/3933889

and here:

https://gist.github.com/3165268

These can be used in place of the templates that are bundled with the REM plugin.


Greg Phillips

October 25, 2012 at 9:34 am

Thanks Josh. I replaced the template but am still having the same issue. Can you take a look for me? Here is a test page. http://mtnguide.net/register/ Click on the second “register now” link under “This is an example of shortcode for a category:”. The dates drop down appears, but on click of any of the dates, it loads the registration page rather than exposing the reg fields.

  • This reply was modified 12 years, 2 months ago by Greg Phillips.


Greg Phillips

October 25, 2012 at 9:37 am

Hold that – just realized that you gave me two links for new templates. I only replace the first. I’ll try the second now…

Nope – still not working… jquery conflict perhaps?

  • This reply was modified 12 years, 2 months ago by Greg Phillips.


Josh

  • Support Staff

October 25, 2012 at 2:49 pm

Hi Greg,

It looks like there’s an issue with how the main registration page setting was set up. In Event Espresso>General Settings, there’s an option to set the main registration page. The page on your that was set by Event Espresso on plugin activation as the main registration page was:

http://mtnguide.net/event-registration/

This can be what ever page you’d like, but it must have the [ESPRESSO_EVENTS] shortcode on it, or the event registration process will not work.

Right now, it looks like the book-a-trip page is set to be the main registration page, and it appears to have the [EVENT_LIST] shortcode on it, which will make the links loop back to the page instead of moving through the registration process.


Greg Phillips

October 25, 2012 at 6:21 pm

Thanks Josh – you are correct that the original set up had the event-registration page set as the main registration page. However, I created a new page, book-a-trip, with [ESPRESSO_EVENTS] not [EVENT_LIST] on it and selected that page as the main registration page in the General Settings. This is what is looping. Are you saying that I need to deactivate and activate the plugin to redefine the main registration page?

If I replace the REM templates with the core Espresso templates, the registration works fine (just without the drop down). Also, on the demo page, /register/ , the single event listing also goes through the registration process correctly without looping. It seems to me that there is either a bug with the REM templates or something else going on like perhaps a jquery conflict. Looking at the video you have posted in the support board, it looks like the way the REM is intended to work is to accordion the registration form on click of an event date. Is that managed by a jquery call?

  • This reply was modified 12 years, 2 months ago by Greg Phillips.


Josh

  • Support Staff

October 25, 2012 at 7:43 pm

Hi Greg,

It’s only using jQuery to display the hidden date links when you click the Register link.

I don’t think it’s a bug, because it’s working on my test site. I’d recommend double checking which templates you have installed in /wp-content/uploads/espresso/templates (the templates that are bundled with the add-on are out of date and will not work.) When I compare the date selection links on your site to the links on my test site, the URL structures are different, so I suspect those are the older templates.

You don’t need to re-activate the plugin when changing the main registration page, you only need to update the page settings and save them on the Event Espresso>General Settings screen.


Greg Phillips

October 25, 2012 at 9:14 pm

Thanks for your patience, Josh. Hopefully, we’ll figure this out soon so we can both move on… 🙂

I had uploaded the 2 REM templates this morning that you gave me the GIT links for and put them in the right spot. The original templates are still in their respective plugin directories too. Could the original templates be getting called somehow instead of the uploads/ templates? Would it be helpful for you to take a look from the dashboard? If so, let me know how to share credentials securely.


Josh

  • Support Staff

October 26, 2012 at 8:26 am

Hi Greg,

There isn’t really a way to check the contents of files in /wp-content/uploads/espresso/templates from the WordPress dashboard. I could check the contents of the main registration page to see if it has [ESPRESSO_EVENTS] on it, but you already told me that’s what’s on there, and I believe you.

It might help to explain how the templates get loaded: Event Espresso first checks for template files in /wp-content/uploads/espresso/templates, specifically for the event list view, it’s looking for event_list.php. If it finds it there, event_list.php will look for event_list_display.php in its own directory and load it up. If event_list.php isn’t there, it will load up the templates that are in /wp-content/plugins/event-espresso/templates.

The issues that I’m seeing on your registration page are identical to what I’ve seen when the older templates are installed in /wp-content/uploads/espresso/templates.

So the next step I can recommend for you is to download fresh copies of the templates from github, then you can remove the two event_list templates from /wp-content/uploads/espresso/templates, and upload the fresh copies. Also, please double check that these are named “event_list_display.php” and “event_list.php”

If you need help with this, we can help you if we have FTP access, which you can send securely via our contact form:
https://eventespresso.com/contact/

Please select the “I am sending login info as requested” department form.


Greg Phillips

October 26, 2012 at 4:23 pm

Well – I am a complete moron… You were absolutely right. Replaced the templates again and voila! Must have mistakenly uploaded the wrong ones.

Thanks for your patience and your support! Really appreciate the quick response and the excellent plugin.

Greg

Viewing 9 reply threads

The support post ‘REM Template question’ 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