Page 1 of 1

Little help with CGCalendar...

Posted: Tue Sep 17, 2013 5:04 pm
by CapereSpiritum
Hi Folks

I've installed CGCalendar 1.10.4 successfully and styled it to suit my site.

I'm struggling with a few small items.

When I click on the Prev or Next month links, it opens the calendar in the main content area rather than the Sidebar Div to the right.

Also, how do I get a List template to load? I've tried adding display"list" to {cms_module module="CGCalendar"} but the syntax is wrong.

And.... I want the event title to display title text on link hover.
What do I change in

Code: Select all

<a href="{$day.url}" title="{$event}">
I know that {$event} is wrong, I've just added it to show what I'm attempting...

Re: Little help with CGCalendar...

Posted: Tue Sep 17, 2013 5:14 pm
by calguy1000
1. {CGCalendar inline=1} {* its in the help *}
2 {CGCalendar display=list} {* also in the help *}
3. you need to do some debugging of the {$event} variable to see what it contains
put <!-- {$event|@print_r} --> in your display template... then view source.

Re: Little help with CGCalendar...

Posted: Wed Feb 05, 2014 2:42 pm
by tokr
using {inline=1} works if you want everything to stay in the sidebar div. But what if you want the event details to open in the main content but keep the calendar in the sidebar? I want the Prev or Next month links to change the calendar in the sidebar and the event links to open in the main content.
Is this possible?