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.
Hi Calendar-fans,
I'd like to link to the month view (instead of the day-view) when I click on a day of the mini calendar.
I think something needs to be changed on calendar-datebox.tpl.php
.
Any suggestions?
Comments
Comment #1
quotientix CreditAttribution: quotientix commentedHere's how I got it to work:
Hope that helps, if someone happens to have the same issue.
Comment #3
Xilis CreditAttribution: Xilis commentedI solved this by using template_preprocess_calendar_datebox by adding the code below into a custom module. I don't use the day/week/upcoming display so I have them disabled.
Comment #4
crutch CreditAttribution: crutch commentedThanks Xilis this works great although I think it should be
function THEMENAME_preprocess_calendar_datebox(&$vars)