0

Is there a way to show a "Last Updated" timestamp for nodes? Maybe even in views as well?

EDIT: Via a module or core configuration

2

2 Answers 2

1

IN views, just include a NODE/node last updated date field in your row. For nodes, take the advice of MPD and those commenting in Showing the date of the latest edit, instead of node's posting date about creating the very simple preprocess() and/or view() hooks.

4
  • Is there a way to show one updated date in views, like at the top or bottom of the view that shows the last time any content in that view was updated as opposed to having it show up in every row for every content in that view? I'm sure the answer is no =( Commented Jan 11, 2012 at 19:32
  • 1
    Nope. Answer is yes. You can use the header or footer sections of the view to do that along with replacement patterns. Just use the date field and you can put it in either place. Then either use CSS to not display the field in the rows, or have views load them and not display them.
    – Jimajamma
    Commented Jan 11, 2012 at 21:39
  • Tricky, however, this works by showing the updated date of the first row content, as opposed to the last content that was edited within the view. Commented Jan 11, 2012 at 22:13
  • then sort the view by date :)
    – Jimajamma
    Commented Jan 11, 2012 at 22:26
0

I needed this same feature myself on two separate sites, so I wrote a little module you can try: https://www.drupal.org/project/updated

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.