Posted: January 28, 2013 at 5:21 pm
|
I’m using the REM event_list and event_list_display templates so that my recurring events are grouped together in the event list, which is much better than the default setup. We have a large number of classes and all of them have multiple dates, so it would be a mess if each instance of a class had it’s own box in the list. One thing I don’t like is that when you have a recurring event you just get the “Register” link that then drops down to show the available dates when clicked. Is there a way to edit the template(s) php so that all of the dates are listed out by default or is there a different template that can do this that I am unaware of? I’m not a big fan of the drop down setup. We don’t offer more than 4-5 dates for each class, so having all of the dates listed would not be a problem space wise. Also, I came across this thread that mentions a REM template using a drop down option that was supposed to be on the horizon: Has that template been released yet? I really like the clean layout that it uses. Thanks for the help |
Hi Yolande, We haven’t released the selector dropdown templates yet. That’s something that we’d like to get out with the next update of the custom files add-on. Have you looked at any of the table templates? That may be what you’re looking for. I’d recommend checking out the espresso_table.php template. |
|
|
I like the table when we have our courses separated by categories, but we want to have a page that shows all of the courses at once and the table view breaks them up based on date. I like how the REM event list template groups them together, it makes finding dates for a specific course pretty simple. I was browsing the board and came across this thread: https://eventespresso.com/topic/event_list-showing-some-recurring-events-as-single-events/ Which links to this website: http://www.carmelblue.com/postnatal-signup/ That is what I am looking to do seeing as it lists all the dates by default for a course unless there are 5+ instances. I wasn’t sure if that was a template type you guys had or one that they modified themselves. I’m not a PHP whiz by any means, but I do have some coding experience so I can look through it and try to make sense of what is going on. Based off of the site I linked above I would imagine there is a line of code that sets how many instances of an event there needs to be before they get hidden and the drop down comes into effect. I thought I found it in the event_list_display PHP, but it ended up doing the opposite of what I expected it to. Do you know if the code change to alter how many events are shown before they collapse under Register is a simple fix? It seems like it would be. Thanks again |
Hi Yolande, I looked at the signup page on carmelblue.com and it looks like they are using the standard Recurring event manager list templates, and using categories to have finer control over the order of the groups that are displayed. You can download updated copies of the REM templates here: https://gist.github.com/3933889 those get placed in /wp-content/uploads/espresso/templates and will override the stock event list templates. Then when you set up an event list page, you can set up the event list shortcodes like this: [EVENT_LIST show_recurrence=true category_identifier=category1] |
|
|
Hmm, I ran across a link to those two templates on the forums and had been using them (I DL’d them again and threw them in just to be sure). My recurring events still get collapsed if there is more than one instance of an event, seen here: http://chisoftware.com/wp/course-list I played around with using the category identifier and had the same results. Do you know what they are doing for the ‘boom’ ‘zoom’ and ‘toddler play and learn’ events in the same link from earlier: http://www.carmelblue.com/postnatal-signup/ I’m not sure how they are keeping those event dates from being collapsed by default, which is what I would like to accomplish. Thanks again for your time! |
I can only guess, but it looks like the dates that are not getting collapsed aren’t recurring events. If you view the source of the page, you’ll see that the markup looks like non-collapsing events were added by hand or they’ve made some modifications to their event list templates. |
|
|
I ended up finding a way to display the recurring event dates in a list without the drop down button after playing around with the templates some. I switched themes and forgot to add the extra line of code to its CSS and saw that without it the event dates were displayed in a list by default. The drop down button was still there, so I hid it and then changed a small piece of code so that an event with one date displays the same way as recurring events with multiple dates do. You can see the results below: |
The support post ‘Question on grouped recurring events layout’ 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.