[themes] Customizing themes for node types, terms, sections,

Ken Rickard agentrickard at gmail.com
Thu Apr 6 14:22:46 UTC 2006


Kieran-

Isn't this section a redundant version of PHPTemplate's built-in node
templating?

"We can also have customing theming based on nodetype using the following
if($node->type =='nodetype'){
    include 'nodetype.tpl.php';
}
"

Unless there have been major changes to 4.7, you do this by naming theme
files:

  node-NODETYPE.tpl.php

And PHPTemplate automatically finds and uses them.  So this code is
redundant.

- Ken Rickard
agentrickard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20060406/57747795/attachment.htm


More information about the themes mailing list