Welcome Guest, Not a member yet? Register   Sign In
[Solved] Display multiple rows on calendar Question

(12-19-2015, 04:03 AM)Happy Camper Wrote: Hello,

The way I did this in the past was to have each cell in the calendar contain an unordered list  with a list item for each event happening on a particular day.

So assuming there were 2 events happening on a particular day the cells data would be like this

PHP Code:
$cell_data ='<ul><li>' .$event1'</li><li>' .$event2'</li></ul>'

Where $cell_data is constructed within a foreach loop

You will need an extra function in your model to return all events happening on a given day which the previously mentioned foreach will loop through.

Hope this helps!

But what I can not seem to make it work with my get function need example.
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!

Messages In This Thread
RE: Display multiple rows on calendar Question - by wolfgang1983 - 12-19-2015, 07:14 PM

Theme © iAndrew 2016 - Forum software by © MyBB