Date and Time of Last Update?
This is an open discussion with 4 replies, filed under Troubleshooting.
Search
Alistair whipped one up for me on IRC not long ago... let me dig it up.
-- Edit --
Here it is http://pastie.org/208905. I named it field.modifieddate.php and dropped it into the fields
folder in symphony/lib/toolkit
(I think that's right).
Thank you, I'll try that out tomorrow!
Hm ... I'm not sure if this field is working the way I expect it to work. It automatically selects the current date when creating a new entry but it does not update date and time when resaving the entry.
Have a poke around the function:
public function processRawFieldData($data, &$status, $simulate=false, $entry_id=NULL){
and see that when you save an entry, you're getting in there.
Create an account or sign in to comment.
Does anybody know if there is a way to get the date and time of the last update of an entry? Does Symphony automatically store these information or is there a way to set up a field to log it?