Get the latest page updated
Iâ€™m working on a site where I want to highlight the latest page updated in various sections (each in a folder). What would be the best way of doing this (and can it be done)?
I was thinking of using perch_content_custom with the field set as pageModified. However it doesnâ€™t work so Iâ€™m assuming the field must exist in the region. Is there a way to sort by the modified date of the page?
The other idea I had would be to run a SQL query on pageModified and then send the pagePath to perch_content_custom. Would that be the best way to do it?