I'd like to explicitly write current date and time in my post.
Is there any way to automatically insert current date and time in the post, when the post is released or updated?
Thank you in advance.
It is in the header of the page, but if you really want it in thecontent of the page too you could write a user macro and insert it into the page content or edit the page decorator to include it. Below is a quick example of a user macro for it.
Macro Name:last_modified
Macro Title:Last Modified
Macro Body Processing:No Macro body
Template:## @noparams$content.getLastModificationDate()
It looks like you're new here. Sign in or register to get started.