How to display the subtitle provided in the page properties?
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Dolly
When you have the subtitle authored in the page properties, you can fetch it in your java code and display it in the HTL. Check the below example: https://stackoverflow.com/questions/48079450/how-to-get-page-properties-using-sling-model-in-aem-6-3
Hope it helps.
Thanks,
Kiran Vedantam.
1. First you need to check value like ./subtitle of the name property as shown in below screenshot associated with subtitle node of your project specific page (base page) component -
2. Then you need add ${pageProperties.subtitle} code in page component .html file. Then subtitle value will be displayed on page.
Hi @Dolly
When you have the subtitle authored in the page properties, you can fetch it in your java code and display it in the HTL. Check the below example: https://stackoverflow.com/questions/48079450/how-to-get-page-properties-using-sling-model-in-aem-6-3
Hope it helps.
Thanks,
Kiran Vedantam.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies