Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Can a 4 week view be added? It's similar to the month view in that is shows multiple weeks, but different in that this view can cross months. The point is to show what's coming up in the next 4 weeks (or more generally, the next n weeks), regardless of how early or late in the month it is now.
For example, today is Oct. 19, 2008. I want something to show me the last two weeks of Oct. and the first two weeks of Nov.
I would still like it as a calendar view, as opposed to just a list.
Comments
Comment #1
Cayenne CreditAttribution: Cayenne commentedSubscribing to this. Would be really nice!
Comment #2
jplarose CreditAttribution: jplarose commentedI've been thinking about what the argument notation for this would be like. Here's what I've come up with...
Currently we have :
calendar/[yyyy]
calendar/[yyyy]-[mm]
calendar/[yyyy]-W[ww]
calendar/[yyyy]-[mm]-[dd]
Perhaps week notation could be augmented as follows :
calendar/[yyyy]-W[ww]+n
e.g. the 4 week view beginning with this week would be :
calendar/2009-W08+3
calendar/[yyyy]-W[ww]-n
e.g. the 4 week view ending with this week would be :
calendar/2009-W08-3
calendar/[yyyy]-W[ww]-m+n
e.g. the 4 week view starting last week would be :
calendar/2009-W08-1+2
Theoretically, we only need one of the first two proposed notations, and change the [ww] token with basic arithmetic, but this richer notation could be used for added theming.
Any thoughts on this notation, or on the difficulty of implementing this?
Comment #3
JayKayAu CreditAttribution: JayKayAu commentedThis would be very useful for a client of ours. Nice work on the notation :)
Comment #4
thechanceg CreditAttribution: thechanceg commentedHas anyone tried to do anything like this in 7? I could really use this functionality, and an willing to code to help make it happen. I'm just wondering if anyone has anything started.
Comment #5
Neslee Canil Pinto