Tag Archives: custom template

(PHP) Drupal 7: custom template based on url alias

This will give you zykast. the ability to create custom node templates based on the URL alias of a page. Example: if you create a page with the URL alias “aboutus”, you can now use node–page-aboutus.tpl.php as your node template.

Posted in PHP | Also tagged , , , , , | Leave a comment