Single stripe for every event
| Project: | Calendar |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Some common calendars (such as evolution, google calendar, mozilla calendar), use a visualization of every event with a single stripe that begins on the start day and ends the day in which the event is concluded.
Calendar instead, shows the same block for every event day using the variable “stripe” in order to hold correlation between blocks of the same event.
This makes calendar full of redundant information like the node title (or any other field selected on calendar view).
It would be useful to supply tools for being able to visualize every event as a single stripe.
I enclose a patch that adds a “weight” value for every node and keep it the same for every day on monthly and weekly views.
This could be a start point to supply all the information needed to show single stripes from theme.
Otherwise this feature requires more structural changes in order to generate single div(s) for each event on every table row.
Let me know if this could be an useful feature, I can still work on it.
| Attachment | Size |
|---|---|
| calendar_weight.patch | 1.38 KB |

#1
I have re-rolled the patch with a small bug fix to keep the correct weight for every event on every day.
Is anybody interested in this feature?
#2
I am very interested if you managed to get this working. Basically I'm trying to get it a stripe to stay on one continuous line across the whole month view rather than jump up or down depending on how many events there are that day.
#3
Moving D5 feature requests that aren't going to get into the initial official 5.2 release to be D6 feature requests that could potentially be backported to D5.2.
#4
This is a much desired feature for our Art Department gallery and exhibition schedule. The preferred setup would have rows of days - in normal 7-day configurations with additional rows added below each week that had an 'event' bar for each multi-day event. When there were no multi-day events these bars would just disappear.
If this is something that someone has a solution for, we may have some funds to support the development. (I'm not sure how this works- hope it is appropriate to request this here). We are currently using version 5.2.
#5
+1 for this feature ;)
#6
+1 here too. The display of multi-day events is simply very cluttered!
Would it be possible to use what's been done for Open Atrium (www.openatrium.org)'s litecal custom module? It does have bars spanning the event by adding a div under the week's row and styling it to be above the week. The width and position of the bar/strip is calculated based on the start and end dates.
#7
subscribe +1