I have created a custom module with page URL like $items['testpage/get']
. How can I create a separate page.tpl file for this URL? Link is like: http://199.x.x.x/mysitename/testpage/get
.
1 Answer
It's based upon the path. In D6:
page-testpage-get.tpl.php
In D7:
page--testpage-get.tpl.php
(Although D7 might want page--testpage--get.tpl.php
due to its love of double dashes :)
All about templates and their suggestions can be found here:
-
Thanks for quick reply Jimajamma, I wil try and give update of this stuff..– SrinuCommented Jul 12, 2012 at 16:26