[themes] changing page template based on node type from within template.php

Theodore Serbinski tss24 at cornell.edu
Mon Jun 12 17:34:56 UTC 2006


Should be able to just create a new node-forum.tpl.php file and go  
from there.

Or switch the template_file in the $vars array, see http:// 
www.lullabot.com/articles/hacking_phptemplate for more details.

ted



On Jun 8, 2006, at 3:39 PM, John Haas wrote:

>
> I'm trying to serve a specific page template for all nodes that are  
> forum posts.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20060612/3bc5aa93/attachment.htm


More information about the themes mailing list