Hello, I have two separate calendars on our website. One is a regular calendar view and the other is a list view for special events and ticketing. I received a special code at set-up for the list view. The list view needs to show the ticketed events only and we do not want items from the regular calendar to show on the list view. I erased the code by mistake. I entered this code: [ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=start_date], but it imports items from the other calendar. May I have a code which will separate them? Thank you!
I’m afraid the add-on in question doesn’t have a code that will make it load items that are not also on the calendar. That said, maybe you were using categories to make the separation?
You may be able to retrieve the code you erased by mistake by checking the page’s revision history.
We do use categories. However, everything disappeared from the list calendar when I remove the code I received last year via customer service due to this same issue. I found this code ([ESPRESSO_EVENTS_TABLE_TEMPLATE order_by=start_date]) and retrieved the list; however it included items from the other calendar. This is not what we were using before. I just had to mark all of the events in the regular calendar as ‘private’ because we cannot have them showing up on the list calendar. Everything is correct otherwise.
How would I access the page’s (list calendar) revision history? Thanks.
Click the slider highlighted to reive previous versions of the page.
If the shortcode change was the only change you made to that page you can use the ‘Restor this revision’ function, if not, just copy the original shortcode and click the ‘Return to editor’ link, then replace your current shortcode with the correct one.
If you don’t see anything like that, please send us some screenshots showing what you do see:
The support post ‘Need special code for two different calendars’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.