
This is a great tool for our school district. I just created a Global Area within our template, then created one on…
clovisusd
Show the time a page was Last Updated with complete control of what to consider, how it is formatted and how it is displayed.
Requires php7.3+. Compatible with php8+.
Why this block? The simplistic approach would be to just output the page update time, but that is often not what you want to show because that is the time a new page version was saved, not the time you actually updated the real content. Think of some of the things that could distort what you really mean:
Last Updated avoids all these nuisances and more by looking at the time individual blocks are updated and allowing you to choose which page areas to consider. By default, only blocks in the Main area of a page are considered, so updates to other areas such as a sidebar or footer are ignored. The edit dialog provides complete control over which areas are included when calculating the last updated time, how layouts, conversations and stacks are included in the calculation, and even whether adding a Last Updated block to an existing page will be considered.
Last Updated also provides easy selection of how the last updated time is formatted, ranging from multiple friendly options like "just now" and "yesterday" through to exact time down to the second.
Last updated uses an advanced package architecture to provide: