By macunni on
I want to display the date a page was last revised/changed instead of the date it was created.
This displays the created on date. Is there something similar for revision dates?
if ($submitted != "") {
print "<div class=\"info\"><p>date posted: {$date}</p></div>";}
Comments
edit phptemplate
Open phptemplate.engine, find phptemplate_node() near line 260, and there you'll find the $vars array.
Add the following to that array:
Now you'll have a variable named $changed available in your theme. Use it like this:
THANKS!!!
Thank you very much! This worked like a charm.
6.x and 7.x
Any one know how to do this in 6.x and 7.x ?