| Issue 34: | Patch for setting colours for events | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. You cannot have events of different colours. What is the expected output? What do you see instead? You should be able to override the colour of an event. What version of the product are you using? On what operating system? Latest Please provide any additional information below. I've attached a patch that lets set the colours.
Jun 11, 2009
#1
KyleRe...@gmail.com
Jun 15, 2009
noo! monkeypatching fullcalendar.js is not the best way. also, it is a good idea to keep logic + presentation separate. here is a better solution... in each event from your feed, specify a 'className' (look at the docs for more info). Then, in write some css for each element w/ whatever class you chose. There is an example in the comments of fullcalendar.css for changing the background color, exactly what you want!
Status:
Done
Sep 21, 2010
I have tried applying className, but it does not work. I am using the json_encode method. |
|
| ► Sign in to add a comment |