Events View Style Default

How can I change the default view of calendar to {day} or {week} instead of {month} ?  Is there a way?

  • 388
  • More
Replies (2)
    • Hello Scotti (Lehigh Valley Social) !

      You may try to change it via the editing the following part of the calendar.html file (copy it from template/ folder to modules/boonex/events/template/ first)

      var oDefaults = {

                  header: {

                      left: 'prev,next today',

                      center: 'title',

                      right: 'month,basicWeek,basicDay' 

                  },

      Just replace month to day or week.

      • Thank you...it worked,but does not allow me a button to go back to 'month' view, is this possible?

        Login or Join to comment.