I have a 2-column layout with the calendar in the left column under a menu.
Ideally this is how I need the calendar to behave:
• by clicking the prev/next links, the calendar table should replace itself in the same column it is in
• by clicking on a date on the calendar, it should take the user to a detail page and display the info in the content area while still displaying the calendar table in the left column
I thought I found a solution to my display problems from this thread discussion, http://forum.cmsmadesimple.org/index.php/topic,33035.0.html, but it's not completely working for me.
Basically the solution from that thread said by replacing "$inline" for true on lines 343 and 351 in function.displaycalendar.php, and
using inline=0 in the cgcalendar tag and inline=1 for the month prev/next links, should reslove the problem, but it's not quite working... when clicking the next/previous links, the calendar table still shows in the content area instead of replacing itself in the left column, however clicking on a date, does take you to the detail page and display the event details in the content area while still displaying the calendar table in the left column.
I'm using:
CMSMS 1.6.5
CGCalendar 1.2.3
CGExtension 1.17.2
The tag calling the module on my page-template is:
Code: Select all
{cms_module module="CGCalendar" display="calendar" first_day_of_week="0" inline="0" detailpage="events" calendartemplate="sm_calendar"}
Calendar template used is the basic sample template included with CMSMS
Any help would be most appreciated.
Thanks!