why don't you just go for an easy solution first. In the day cell, all "All-Day-Events" go in divs at the top. Then all other events are ordered by time_starting. If times overlap, no big deal. I don't think it is that important right off the bat to see events right next to each other if they are overlapping. May if events do overlap in time, just apply a class to them that turns them red or something so that you can see that these events overlap in some way. Have the start and finish times in the cells with the tasks would then explain where they overlap.
Overlapping events would just be a recursive problem. If you have an event at 3-4 and an event from 3 - 5 and then an event from 4-6 and then and event from 3 - , you would have a totally illegible calendar. That's my recommendation. Just get it done quick and easy and then review. I do think that most of the time the easiest and chepest approach turns out to be the best approach. I know it's not what you were looking for but it's what I would recommend On Nov 10, 3:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I know this is a bit unusual question in this group but I am > implementing the project with cake (which I love). > > I'm trying to crate week calendar with tasks. I have a problem with > displaying it in a table of some sort. Let's say I have several tasks. > I know start time (hour+minute), end time and title. Now I want to > display something like outlook calendar with tasks (www.law.com/images/ > charts/outlook_calendar_biz_web.jpg). The thing is that some events > will last for several hours and some event may overlap (let's say we > have several meetings during the day, but we have to keep doing > something else during the whole day). How do I represent this in HTML? > I have tried playing with tables and CSS layers, but just can't > display it properly. Can anyone give me a hint? I'm sure that I'm not > the first one to deal with this problem and I can't think of any > elegant solution. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---