In this recipe, we will be changing the contents of the
$date template variable which, by default, displays the creation date of the node, with the node's last updated date instead. This is useful in situations where the freshness of content depends on when it was last updated rather than its overall age.
We will be using the myzen theme created earlier in this book as the example theme in this recipe. It is also assumed that the
node.tpl.php file is available in its
$date variable can be performed using the following steps:
template.phpfile in an editor. ...