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.
Manila blogs have a nice feature in their calendar whereby only days with activity are hyperlinked. That way, it is easy to navigate to that day's content.
Also, perhaps we should make a version of that calendar which is displayed on each blog and hyperlinks to past blog entries by that user.
Comments
Comment #1
(not verified) CreditAttribution: commentedI would really love to see a reusable calendar for various purposes. It could get confusing if there were 5 blocks to choose from. Not sure how to make that work though.
Comment #2
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedMoshe:
Manila blogs have a nice feature in their calendar whereby only days with activity are hyperlinked. That way, it is easy to navigate to that day's content.
---
The event-calendar, does something similar: Days with events get a different colour.
Kjartan:
I would really love to see a reusable calendar for various purposes. It could get confusing if there were 5 blocks to choose from. Not sure how to make that work though.
---
I'd make a selector like on the search module.
+--------+
| Stories|
+--------+
| Events |
+--------+
| Blogs |
+--------+
or a series of checkboxes above/below the actual calendar.
Thinking about it, the technical point of this might get difficult.
You could make every date a checkbox too and offer a submit button, too. But this would be three clicks at least instead of one.
Comment #3
Eagle-i CreditAttribution: Eagle-i commentedWhen i click on event it opens a page with dropdown menu with a specific date and doesn't show any events. How am I to know what exact date there is an event if i don't use the event calendar on the right or left?
Is it possible that someone adds the following features:
- show a (big) calendar on the page instead of dropmenu where it shows you appointments on different dates
- have the possibility of repeating events (of the same); for example a training given on 2 saturdays in a particular month, as a sequel?
- use different calendars if needed for different 'projects', belonging to for example different terms in the taxonomy?
Comment #4
killes@www.drop.org CreditAttribution: killes@www.drop.org commentedEagle-i
> When i click on event it opens a page with dropdown menu
> with a specific date and doesn't show any events.
It is supposed to show the next n events. Have you set "access events"?
I'll gladly accept patches implementing the other features you asked for.
Cheers,
Gerhard
Comment #5
moshe weitzman CreditAttribution: moshe weitzman commentedAmy Hoy contributed a query today on the Devel list. Perhaps someone will be inspired to finish this request. The query is:
"select dayofmonth(from_unixtime(created)) as cal_day from node where
year(from_unixtime(created)) = year(from_unixtime($calrequest)) and
month(from_unixtime(created)) = month(from_unixtime($calrequest)) group by
cal_day;"
$calrequest is, of course, the unix time equivalent of the
(day)/month/year of calendar being requested. It's just a placeholder for
the variable that no doubt already exists in the module.
Comment #6
al CreditAttribution: al commentedComment #7
al CreditAttribution: al commentedPatch in my sandbox.
Comment #8
al CreditAttribution: al commentedFixed in CVS.
Comment #9
al CreditAttribution: al commented