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,
I'm trying to add some additional links to the calendar page below or above the calendar. Therefore, I created for example:
calendar-month--CALENDARNAME.tpl.php
I also tried with other template files suggested by the Theme Information link in the views editor. However, non of the files I create are recognised. Calendar is still using the default files.
I have rebuild my theme registry and I also cleared the views cache. Any pointers what is going wrong here?
Comments
Comment #1
advseb CreditAttribution: advseb commentedOk, to be more precise: The custom template are actually used, but the theming information in the views editor is not updated. Normally, the currently used template file gets highlighted in bold font.
Comment #2
dropchew CreditAttribution: dropchew commentedSame issue with calendar-datebox.tpl.php template...
Using the default calendar block_1 view,
I tried overwriting calendar-mini.tpl.php with calendar-mini--calendar.tpl.php in the theme folder and it works, looking using devel themer.
But if I tried using calendar-datebox.tpl.php with calendar-datebox--calendar.tpl.php, it is still using the default template in calendar module folder..
Am I doing it correctly, or is there any steps that I missed?
Thanks!
Comment #3
solide-echt CreditAttribution: solide-echt at Solide BV commentedThe D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.