Welcome Guest, Not a member yet? Register   Sign In
Changing the background color of calendar cell using dynamic data
#2

[eluser]CroNiX[/eluser]
I haven't used the calendar class, but from the docs it looks like you would have to create a custom template, although to tell you the truth I think something like that would be easier to do custom. It looks like you would have to loop through your data to create the $prefs['template'] string and then pass that to the calendar object along with the original data to parse. Basically have your code assign certain classnames to the <td> cells the way you want and then style them with css.


Messages In This Thread
Changing the background color of calendar cell using dynamic data - by El Forum - 09-26-2010, 02:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB