[themes] How to know the path of a tpl.php file

Bobák György bobakgyorgy at phpmaster.hu
Thu Jul 1 17:34:11 UTC 2010


HI!

 

What is the VIEWNAME?

VIEWNAME contain underscores? If yes, try to change the underscores to
hyphens.

Try to duplicate the hyphen after 'node-view' int he file name, like this:
node-view--VIEWNAME.tpl.php

I can only guess .

 

George Bobak 

 

From: themes-bounces at drupal.org [mailto:themes-bounces at drupal.org] On Behalf
Of Michel Morelli
Sent: Thursday, July 01, 2010 9:22 AM
To: A list for theme developers
Subject: Re: [themes] How to know the path of a tpl.php file

 

Bobák György ha scritto: 

HI!

 

Have you a simple node.tpl.php file in the theme directory?

Yes, I have it, because I have some node-content_type.tpl.php file that
works.

M.



-- 
Michel 'ZioBudda' Morelli                       michel at ziobuddalabs.it
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660
 
http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net                        MSN: michel at ziobuddalabs.it

                                        JABBER: michel at ziobuddalabs.it





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20100701/0b3af64d/attachment.html 


More information about the themes mailing list