Last active
October 13, 2023 14:26
-
-
Save elindoorn/fcd1c4a523b71a602ca5 to your computer and use it in GitHub Desktop.
Reserved web content variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reserved-article-asset-tag-names | |
reserved-article-author-comments | |
reserved-article-author-email-address | |
reserved-article-author-id | |
reserved-article-author-job-title | |
reserved-article-author-location | |
reserved-article-author-name | |
reserved-article-author-organization | |
reserved-article-create-date | |
reserved-article-description | |
reserved-article-display-date | |
reserved-article-id | |
reserved-article-modified-date | |
reserved-article-small-image-url | |
reserved-article-title | |
reserved-article-url-title | |
reserved-article-version | |
Use in freemarker: ${.vars['reserved-article-create-date'].getData()} | |
Use in velocity: $reserved-article-create-date.getData() | |
List in 7.4: https://github.com/liferay/liferay-portal/blob/master/modules/apps/journal/journal-api/src/main/java/com/liferay/journal/constants/JournalStructureConstants.java |
"end-user should have nothing to do with this"
Not quite correct, look at the NHS website:
https://www.nhs.uk/conditions/hyperacusis/
"
Page last reviewed: 02 April 2019
Next review due: 02 April 2022
"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had a feature request for stale content notification:
https://issues.liferay.com/browse/LPS-87724
"Aligned with roadmap" ... still not done. I don't hold much hope for getting reserved variables expanded since they've focused on modern site building, it feels like the existing features have almost been abandoned / ignored. It's almost like they don't know their own system.
Essentially a custom field could be added to work around and say in the Freemarker, compare the date in the custom field to today.
Assuming an intranet application <--- correct, Liferay may be blind to these use cases. Shout up for them.
Is there any use case for you using the knowledge base widget?