I know you can enable or disable the "submitted by Username on date" text for different kinds of nodes by selecting items here: admin/build/themes/settings. So, I can choose to show the posting info for, say, news items but not for regular webpages.

And I know that I can also just butcher the variable print $submitted on the page node.tpl.php, which does the same thing as above, but in a less ellegant way.

But what if I want to show the time of posting, but not the name of the poster? Is there a way to separate those two print functions?

Comments

gordonbooker’s picture

I would also like to know this information.
Is there a way to only show the date, and not the "submitted by" bit ?

anotherdave’s picture

I know that this conversation took place in July and you've probably sorted it by now (or don't care any more) - but for anyone else looking for this:

<?php print $date;?>

Will give you the date on its own without the author info.

profjk’s picture

Interesting, thanks,
*subscribing*