Hii,
actually Right now i am developing a theme for my site.
there is one problem that it contains multiple page.tpl.php file becasue the view of every page is different.
so how can i call page tpl file according the page show
Example is given below.

Home ==> home.tpl.php

contact ==> contact.tpl.php

about us==> aboutus.tpl.php

Please Help Me

Bhagwat Singh
bhagwat.singh@sharmainfoway.com

Comments

MPiccinato’s picture

If each page is of the 'page' type then this is pretty easy.

Just name your page tpl file like so -> 'page-front.tpl.php' for the front page, and 'page-about.tpl.php' for the about page, that is if it is called 'about'.

This should help ya out http://drupal.org/node/17565

er.bhagwat’s picture

right now i am using ZEN theme i customize its page.tpl.php file as i like and use other css files.
you said that if u have page who's name is profile,
I just created the page-profile.tpl.php
but it is not working. it always call page.tpl.php. which is in my theme folder.
Is there any changes in template or other files....

Please help me.
i will be grateful to u......