localendar Forums Homepage


Print at Nov 19, 2025, 5:57:59 AM

Posted by support at Jun 6, 2024, 1:46:44 PM
Re: Display of event categories in embedded calendars inconsistent
!Apologies! - I had this post open and never clicked Reply :(

When localendar establishes a connection with a browser and serves a calendar to the user, it basically creates a "session id" which is sort of like a "customer #" that identifies the person it's talking to.

When a filtered calendar view is sent to a user, localendar will "remember" for customer #X, only show these particular categories when they move between views.

In the case of your site, you are showing multiple views of the calendar with different filter criteria. Even though they are in different iFrames, from localendar's perspective, they are all coming from the same browser (and hence get the same 'customer #')

This can create some confusion. For example, first the user might request a calendar filtered to category 100, so localendar is thinking 'OK - always show that user only that category'. A few seconds later localendar is asked to display the same calendar, but category 102, so now localendar is thinking 'OK - I guess they only want to see *that* category now'. If the user visits another page that doesn't have any filter, localendar will think 'OK - always show all the categories'

I *think* the issue you are having is because you have multiple views of the calendar in multiple iframes/pages. What about turning on the option to show the category legend in the footer of the calendar to let visitors filter events dynamically (on the client-side?)
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us