On my website I have a notification icon in the top right hand corner.
I’m using a GetResources to retrieve new pages. So when I create a new page, a new notification comes into the drop-down…New Page Available Here!
[[getResources:default=`<h5 >Currently no new material available</h5>`?
&parents=`2,3,4,5,46`
&tpl=`notificationNUA`
&includeContent=`1`
&limit=`0`
&sortby=`menuindex`
&sortdir=`ASC`
&where=`{"publishedon:>":[[!getDate? &offset=`-14 day`]]}`
]]
It works a treat. I have it set to WHERE PUBLISHEDON = OFFSET -14 DAYS.
My question is this - Is it possible for the GetResources to also retrieve pages that have been edited? So a pages that already exists but the content has been edited.
Can I pick your brain again. In the Notification Dropdown, I’m showing the page that has been published or edited now. Directly under the page I’m showing the date. I had the published date there. Is there a way that I could show the published date if new or edited date if page is edited? Which every date is newer.