I am new to drupal, and am creating my own template by adapting an existing one. Lets say that the xtemplate.xtmpl file has a 'comments' item tag, which I do not want on my site, or may want to appear only on certain pages. How do I do this?

I have tried taking the item tag out, but then I get errors that cite the xtemplate engine. Thanks in advance!

Comments

venkat-rk’s picture

You may have to use custom page.tpl.php files. Take a look at this handbook section. It is for phptemplate, but you will get the idea. And, I remember seeing comments there about extending the ideas to xtemplate and smarty engines.

sodani’s picture

Great, thank you. It seems like the php templates are the way to go anyway.