[support] Views and .tpl filenames

Gorosito Gonzalo xgonzalo at gmail.com
Tue Oct 14 15:43:47 UTC 2008


I Have all these .tpl.php files and nothing happens:

the real view is called "banners_encabezado"

$ ls -la *banners*
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 08:39 banners_encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 08:39 banners-encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 08:41
blocks-views-banners-encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 62 2008-10-13 23:54
views-view--banners_encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:51
views-view--banners-encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:50
views-view-banners-encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 00:00
views-view-unformatted--banners_encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:55
view-view--banners_encabezado.tpl.php
-rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:55
view-view-banners_encabezado.tpl.php

The view is of type "block", and the cache is disabled on views configuration.

Please help i'm more than half of a day on this :(

On Tue, Oct 14, 2008 at 12:11 PM, Florent JOUSSEAUME
<florent.jousseaume at makina-corpus.com> wrote:
> Did you try page-lala.tpl.php ?
>
> Regards
>
> Florent,
>
> Gorosito Gonzalo a écrit :
>> 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/ ]
>>>
>>>
>>
>>
>>
>>
>
> --
> [ 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