extended display of CGCalendar
Posted: Sun Mar 06, 2011 7:05 pm
I need to show the defaultCGCalendar output, i.e. the one-month view, but multiple times putting each successive month into a div. This way the user can see a 9-month or 12-month view. Then I want to allow paging forward/backward in, say, 6-month hops.
I have tweaked the css to get the single month how I need it, but I am not sure what is the most efficient way to get the extended diplay. If I try to do it in the page, it will result in some convoluted logic to call the module multiple times with the correct parameters, and paging forward/backward -- well, I'm not sure I can see how to start that. It would be easy to write a plugin or UDT to do the logic and layout, but I don't think you can call a module from there. The alternative is to try to modify the display section of the module itself to accept an additional parameter and give the extended display...
Any advice on an efficient approach?
I have tweaked the css to get the single month how I need it, but I am not sure what is the most efficient way to get the extended diplay. If I try to do it in the page, it will result in some convoluted logic to call the module multiple times with the correct parameters, and paging forward/backward -- well, I'm not sure I can see how to start that. It would be easy to write a plugin or UDT to do the logic and layout, but I don't think you can call a module from there. The alternative is to try to modify the display section of the module itself to accept an additional parameter and give the extended display...
Any advice on an efficient approach?