Posted: January 28, 2020 at 1:10 pm
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! |
|
Hi, 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. |
|
It depends on which editor you are using. Edit the page, click on the cog icon, click ‘Document’ and then you should see a ‘XX Revisions’ section (XX being the number of revisions) Here is an example: https://monosnap.com/file/ngB9oJpdFBbuQYLaClBxiu1yMaGiNw When you click that you should see something like this: https://monosnap.com/file/OTIqfuAaJJN6pixUUQslpKGU2LfJm5 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: https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots |
|
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.