I'm trying to figure out, is there a way to use an equivalent to the wordpress statement if_page(); with clean urls on drupal?
What I would like to do is have two seperate header files, one that includes a certain portion of the header on the homepage, and doesn't on the other pages..
How could I achieve this?

Thanks,
Derek

Comments

VVN’s picture

You can use $is_front in your page.tpl.php (i hope you're using phptemplate).
Maybe take a look at http://drupal.org/node/46006