Naming Drupal 7 template files based on url -
if have page url alias "/api/user/create", how can name template file based on url such "page-api-user-create.tpl.php".
you need name it:
page--api--user--create.tpl.php
(note double dashes in file name).
see http://drupal.org/node/1089656 more info.
Comments
Post a Comment