Single stripe for every event

Luca Lenardi - April 16, 2007 - 10:48
Project:Calendar
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

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.

AttachmentSize
calendar_weight.patch1.38 KB

#1

Luca Lenardi - April 27, 2007 - 15:49

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?

AttachmentSize
calendar_weight_0.patch 1.68 KB

#2

lunas - November 12, 2007 - 20:18

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

KarenS - June 23, 2008 - 15:56
Version:5.x-1.x-dev» 6.x-2.x-dev

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

wittenbp - June 26, 2008 - 16:00

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

scottrigby - August 17, 2008 - 02:32

+1 for this feature ;)

#6

pimousse98 - October 22, 2009 - 16:58

+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

jjemmett - November 6, 2009 - 17:17

subscribe +1

 
 

Drupal is a registered trademark of Dries Buytaert.