yeah, sorry i meant what the other david said...
you can also do this:
<?php $formatted_date = format_date($node->created, 'custom', 'D M d Y'); ?>
<?php echo $formatted_date; ?>
so that you can keep all the processing stuff in one place in the document and then only put the echoed variables inline with the html.
e.
david hodgkins wrote:
While four letter words were used a lot in trying to figure this out, echo wasn't one of them!
It worked! Thanks!
david (silverwing)
Because of the all-important "echo". This should work in node.tpl.php:
<?php echo format_date($node->created, 'custom', 'D M d Y'); ?>
-- David Carrington
End of themes Digest, Vol 1, Issue 11 *************************************
themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes