Last active
August 29, 2015 14:27
-
-
Save ocidique/09232dca80a446adaf49 to your computer and use it in GitHub Desktop.
Liferay - get custom look and feel setting in freemarker template
This file contains hidden or 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
| ${nav_item.getLayout().getTypeSettingsProperty("lfr-theme:regular:custom-setting")} |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A bit ugly but especially useful usage when using custom look and field settings on child pages and fetching the data to the parent page.
Otherwise traditional custom look and feel setting is fetched using: ${theme.getSetting("custom-setting")}