By artcoder on
I'm modifying page.tpl.php and what to write code like ...
<?php if ( I page is /node/53 ) { ?>
<!-- some html specify to node 53 -->
<?php } else { ?>
<!-- do the usual stuff -->
<?php } ?>
The problem is I don't know how to construct the condition in the if-statement. What is the Drupal technique to determine which page you are at?
Comments
if (!$node->nid)
if (!$node->nid)
http://profitlabinc.com