Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want my fullcalendar to remember its state. I have found the fix for the stand-alone version of fullcalendar, however, I wasn't able to implement this into the drupal version of fullcalendar. See below.
stackoverflow:
http://stackoverflow.com/questions/12818744/fullcalendar-with-cookie-not...
fiddle:
http://jsfiddle.net/ECQA6/
Basically we only have to add two lines of code and include the cookie script, I don't know where and how (possibly in fullcalendar.fullcalendar.js)
these are the lines of code
defaultView: $.cookie('fullcalendar_defaultView') || 'agendaDay',
viewDisplay: function(view) { $.cookie('fullcalendar_defaultView', view.name); },
Anyone done this before?