This might be something that we can't do anything about, but I'll nevertheless tell my story. :)

We have a site that makes extensive use of the "Date browser" display type and our overridden date-navigation.tpl.php is highly customized to displaying this weird crazy pager thing on maybe 5-6 views.

All was working fine in the world until we enabled calendar module which naturally inherited the same crazy pager thing, only above a calendar where it didn't make sense.

The first thing I tried to do was edit the calendar view and go to the theme information to see if date-navigation.tpl.php was there as an option. It wasn't. Which I interpreted to mean "There aren't template suggestions for this template and you have to make them yourself."

Cue a hilarious night of me banging my face against the table trying to figure out why something was mysteriously overriding my template suggestions, sprinkling dsm()s all over theme.inc, etc. until I finally discovered that date-navigation.tpl.php is, in fact, a views template (visible in any "Date browser" type views), and all I needed to do was rename it from date-navigation.tpl.php to date-navigation--date-nav.tpl.php and I could've saved myself 2 hours. ;)

So. Yes. Is there a way for Views's theme information to be informed that date-navigation.tpl.php exists?

Comments

AndyF’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

The 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, thanks.