Umbraco has a control which does this (latest edits tab) I wasn't sure how it was done so I had a look at the source code.
Quite surprised to see they read the latest edits from the log table.
umbraco.BusinessLogic.Log.GetLogReader(User.GetCurrent(), umbraco.BusinessLogic.LogTypes.Save, DateTime.Now.Subtract(new System.TimeSpan(7,0,0,0,0))); If you're dealing with published content then you could achieve this with XSLT / Razor, I don't have the solution but hopefully someone will come and help soon.
Tracing latest published page in Umbraco
Hi all,
I am using Umbraco 4.7.1 and want to display the name and content of latest published/edited page on a specific page.
Is there any way to do it using packages or without packages ?
Regards,
Arvind
Hi Arvind,
Umbraco has a control which does this (latest edits tab) I wasn't sure how it was done so I had a look at the source code.
Quite surprised to see they read the latest edits from the log table.
umbraco.BusinessLogic.Log.GetLogReader(User.GetCurrent(), umbraco.BusinessLogic.LogTypes.Save, DateTime.Now.Subtract(new System.TimeSpan(7,0,0,0,0))); If you're dealing with published content then you could achieve this with XSLT / Razor, I don't have the solution but hopefully someone will come and help soon.Rich
is working on a reply...