Closed (outdated)
Project:
Calendar
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2009 at 08:56 UTC
Updated:
2 Apr 2020 at 15:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
JayKayAu commentedHi all,
I have the same issue. Can anyone point us to a solution?
Thanks in advance :)
Comment #2
JayKayAu commentedI've been digging through PHP, and it seems to be /modules/calendar/theme/calendar-week.tpl.php which is the relevant file. If my very basic understanding of PHP is correct, there's a foreach loop (line 60) which is spitting out each of the events grouped by hour.
I guess better behaviour would be to have it spit out every hour (from some starting time, specified somewhere (e.g., 07:00), to some similarly specified finishing time), throwing in the events where necessary. I have even less idea where the start/end times should be specified (in the View editor?). Perhaps an overflow:scroll would be suitable here as well.
On further thought, if an event spans several hours (e.g, 9:30am to 11:30am), it should be placed in the calendar on top of the underlying grid of hours, rather than *inside* the table cells. This might involve some CSS floats or whatever. Alongside that is the problem of concurrent or overlapping events. These are dealt with (in iCal at least) by narrowing each of the concurrent events within the day's column.
Another issue would be showing events that cross day boundaries (e.g., 9pm to 6am).
Comment #3
toolman18 commentedTo get all of the hours (from 7am till 9pm) to display was on the "Day view", click the gear icon next to "Style: Calendar" under "Basic Settings". Then, for "Time Grouping" specify "Custom" and put
07:00:00,08:00:00,09:00:00,10:00:00,11:00:00,12:00:00,13:00:00,14:00:00,15:00:00,16:00:00,17:00:00,18:00:00,19:00:00,20:00:00,21:00:00into the text box.
Comment #4
toolman18 commentedThe above answers the question.
Comment #6
joachim commentedThere's actually a TODO in the code about this:
Here is a patch to do that :)
I've left the form element description for someone else to write as I'm not sure how best to put it.
Comment #7
nickdickinsonwilde6.x is entirely unmaintained.