[support] Views and .tpl filenames

Gorosito Gonzalo xgonzalo at gmail.com
Tue Oct 14 15:04:32 UTC 2008


I've forgot to say this:

I'm using drupal 6.5 with views 1.1 , if I have a view called "lala"

The tpl file will be:
- views-view--lala.tpl.php ??? (it doenst work)
- view-view--lala.tpl.php ??? (it doenst work)
- views-view-lala.tpl.php ??? (it doenst work)

Can anyone help me with this? :$

Thanks!!!!!

On Tue, Oct 14, 2008 at 4:24 AM, Damien Cirotteau <dcirotteau at rue89.com> wrote:
> You can use whatever tp name you want but you have to call it in your
> template.php
> You can find some info here :
> http://drupal.org/node/42597
> Damien Cirotteau
> www.rue89.com
>
>
>
> On Tue, Oct 14, 2008 at 9:05 AM, Gorosito Gonzalo <xgonzalo at gmail.com> 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!
>>
>> --
>> #######################################
>> #  Gonzalo Gorosito
>> #  Web Programmer / Sys Admin
>> #  http://www.ggorosito.com.ar
>> #######################################
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
#######################################
#  Gonzalo Gorosito
#  Web Programmer / Sys Admin
#  http://www.ggorosito.com.ar
#######################################


More information about the support mailing list