CI Calendar with multiple events per day |
Hi!
I have something like this: http://iv.pl/images/35021795344086662308.png Now, I need to display more than 1 event on the same day, how do this? Controller: PHP Code: public function index() { View: (in View I only display variable 'calendar')
Try this 13=>'<ul><li>Construction Finished</li><li>Another note on the same day</li></ul>'. If the task is store in array, just loop & append it into variable, etc foreach($foo as $bar){ $baz += $bar;} 13=>$baz
Keep calm.
There is a simply brilliant jquery calendar here http://fullcalendar.io/ that I have used many times. It would do all that for you and much much more. It takes a bit of learning but if you just start with a blank calendar and start by adding in some data it is quick to get to grips with.
Hope that helps, Paul. |
Welcome Guest, Not a member yet? Register Sign In |