By westley98 on
Hi,
I am trying to insert an advertisement space into every page of a specific node type, say 'dummy'. I know if I create a page.tpl.php and name it page-dummy.tpl.php, it would reflect only mywebsite/dummy page. Is there a way to format all pages that display that certain node type? Thanks in advance.
Comments
Try this for drupal 5 (goes
Try this for drupal 5 (goes in your template.php file)
For drupal 6 you'll need to look at http://drupal.org/node/223430 as
_phptemplate_variableshas been depreciated.Ok I added that into my
Ok I added that into my template.php file. What is supposed to happen..? I'm using drupal 5.
For a node type of 'dummy'
For a node type of 'dummy' you should now be able to use page-dummy.tpl.php for all nodes of that content type.