[support] Views and .tpl filenames

Earl Miles merlin at logrus.com
Fri Oct 17 05:29:07 UTC 2008


Gorosito Gonzalo wrote:
> Hi everyone!!!!
> 
> I lost 2 hours trying to find a .tpl name for my view:
> 
> My view is called: banners_encabezado
> 
> This is a view with block output selected.
> 
> i've tried:
> 
> views-view--banners-encabezado.tpl.php
> views-view--banners_encabezado.tpl.php
> blocks-view--banners-encabezado.tpl.php
> 
> and more
> 
> How can I discover the .tpl name for my view??
> 
> I'm using fourseasons theme.
> 
> Thanks for all!
> 

On any view you can visit the "Theme: information" link and it lists all 
the possible .tpl.php names. I'm sorry you lost 2 hours on this, but you 
  skipped a really important link in the UI.


More information about the support mailing list