Page 1 of 1

CGCalendar different size displays

Posted: Sat May 30, 2009 2:13 am
by IanB
I am using CGCalendar 1.2 and want to have a compact calendar display in main template to appear on every page as well as full size display on a dedicated page.
I expected to find a display parameter to handle this but there is none. It appears that I will have to create an additional calendar template (in this example called 'small') and call it as {cms_module module="CGCalendar" display='calendar' calendartemplate='small'}.
It seems strange that this will be necessary. Am I missing something?
Thanks

Re: CGCalendar different size displays

Posted: Sat May 30, 2009 5:31 pm
by Jeff
Nope, you have missed anything. Make a new template - small-calendar. Update the classes and ids for the calendar, and then make the stylesheet for the new class so it displays small.

Re: CGCalendar different size displays

Posted: Sun May 31, 2009 12:15 am
by IanB
Ok, thanks. I thought this must be the case but just wanted to make sure I wasn't wasting my time. Thanks again.