Closed (fixed)
Project:
Calendar
Version:
6.x-2.0-rc6
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2009 at 16:16 UTC
Updated:
11 Mar 2011 at 00:11 UTC
For the Calendar block on the side, the top title bar only shows the Month: I think it needs to show the Year (YYYY), both for the current one and any year that the user navigates to. Is there a way I could add this myself in its module files? Please advise. Thanks, Huj.
Comments
Comment #1
arlinsandbulte commented+1
Comment #2
Bitvark commentedHi,
here is a solution:
You need to create your theme function (my_theme_name_date_nav_title()) overriding theme_date_nav_title() function in modules/date/theme/theme.inc
Just sobstitute my_theme_name with appropriate value and copy this function in template.php in your theme folder.
Drupal 7: See http://drupal.org/node/400292 - things may be different!
Bye
Bitvark
Comment #3
arlinsandbulte commentedSolution provided....
Comment #5
marcotmarcot commentedWouldn't this be better?