Page Deletion Data
Permalink
Hi all,
I wondering if there is any page data available to track when a page is deleted. e.g which user deleted the page?, when was the page deleted? etc.
We have a site and the client is complaining that some of the pages are missing. We have located them in the trash so they must have deleted the pages by accident.
I was hoping there was some way to find out who's "responsible".
Thanks
I wondering if there is any page data available to track when a page is deleted. e.g which user deleted the page?, when was the page deleted? etc.
We have a site and the client is complaining that some of the pages are missing. We have located them in the trash so they must have deleted the pages by accident.
I was hoping there was some way to find out who's "responsible".
Thanks
Thanks mnakalay,
But I was hoping for logs that exist already as the pages have been deleted and I am trying to find out who deleted them.
I can attach the on_page_delete event but that does not show past data.
But I was hoping for logs that exist already as the pages have been deleted and I am trying to find out who deleted them.
I can attach the on_page_delete event but that does not show past data.
I have just found the answer.
Newer versions of concrete 5 send an error log message which can be viewed in the logs dashboard. However the site that this problem occurred on does not support this.
Newer versions of concrete 5 send an error log message which can be viewed in the logs dashboard. However the site that this problem occurred on does not support this.
there's an event on_page_delete that fires whenever that happens. It returns the page object only but it would be simple to get the current user.