CodeIgniter Forums

Full Version: [SOLVED]adding more content to the calendar than just the numbers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]bobbob[/eluser]
I am guessing I am just missing something but is there a way to add lets say event titles to the fields in the CI calendar?
By default there are clickable dates but can more text be added?

El Forum

[eluser]sophistry[/eluser]
This page of the user guide covering the Calendaring Class shows how to do it.

You need to change the way the {content} tag is handled in the calendar template. In the default set up it is turned into an href, but you can change the template to do whatever you want (within limits).

I created OOCalendar to allow more advanced handling of data and better calendar creation. Check it out on the wiki page:
http://codeigniter.com/wiki/OOCalendar/

Cheers.

El Forum

[eluser]bobbob[/eluser]
After posting i noticed that the template can be played with a fair amount as you pointed out.
Thanks for the help.
I will check out your class when time offers itself to me :-)