Support

Home Forums Event Espresso Premium Current (3.1.30.7) Event-list-Templates not working for recurring events!

Current (3.1.30.7) Event-list-Templates not working for recurring events!

Posted: February 17, 2013 at 8:45 am

Viewing 4 reply threads


Frank Grafenstein

February 17, 2013 at 8:45 am

Trying to play around with event-list(-display).php templates version 3.1.30.7 I was not able to group recurring events into 1 single block, showing different event-dates linking to the appropriate registration pages.

However, using templates from Josh on Github (see post https://eventespresso.com/topic/rem-drop-down-menu-links-to-event-registration-pages-with-more-drop-down-menus/ from January 22) works almost fine (listing of event dates disappears clicking ‘Register Now’ instead of appearing …).

Can you give me a hint please, what are the correct templates for grouping recurring events in event lists?

Thank you
Frank.


Frank Grafenstein

February 18, 2013 at 3:27 am

Wow! I have found some more event-list-templates for recurring events:

Directory:
/wp-content/plugins/espresso-recurring/recurring-event-templates/
event-list.php [July 2 2012]
event-list-display.php [July 2 2012]

The readme.txt contained in this directory recommends to copy those files to
/wp-content/uploads/espresso/templates/

Result is:
Warning: preg_match() expects parameter 2 to be string, array given in /usr/www/users///wp-includes/wp-db.php on line 1207.

Great, really!

Now we have 3 templates for recurrent-event-listing
1) /wp-content/plugins/eventespresso/templates/event-list(-display).php
2) /wp-content/plugins/espresso-recurring/recurring-event-templates/event-list(-display).php
3) https://gist.github.com/3933889, and https://gist.github.com/3165268.

I want to show recurruring events grouped, with an event-date-selection/booking-option, and a shopping cart-option both.

How to do that? I spent several hours to find a solution, but without success. And the documentation is ‘not very helpful’ (friendly speaking).

Thanks
Frank


Josh

  • Support Staff

February 18, 2013 at 9:38 am

Hi Frank,

I am sorry for the confusion. The default event_list templates do not group recurring events together. The templates that are included with the REM plugin are out of date and do not work.

They’re are under development, so the github ones are going to be the most recent and recommended to use. When you use those, in their current state, you need to add a bit of CSS to your theme so that the events do not display before clicking the link:

.subpage_excerpt .date_picker{
    display: none;
}

That should acutually be done with JavaScript, and is on the list of improvements to be made.


Frank Grafenstein

February 18, 2013 at 11:56 am

Hi Josh,

thank you for statements. Discussed above Github-versions work fine with CSS-snippet.

However, the github-templates do not contain shopping cart feature, what I found really nice to have!

May be, you can give me some basic instructions how to add shopping cart feature to the github templates? Would be great!

Kind regards
Frank


Josh

  • Support Staff

February 19, 2013 at 8:35 am

Hi Frank,

You can compare the templates for REM to the default event-list templates (which have the add to cart links) and see how they add the Multi Event Registration cart links.

Viewing 4 reply threads

The support post ‘Current (3.1.30.7) Event-list-Templates not working for recurring events!’ 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