Skip to content

Instantly share code, notes, and snippets.

@ocidique
Last active August 29, 2015 14:27
Show Gist options
  • Select an option

  • Save ocidique/09232dca80a446adaf49 to your computer and use it in GitHub Desktop.

Select an option

Save ocidique/09232dca80a446adaf49 to your computer and use it in GitHub Desktop.
Liferay - get custom look and feel setting in freemarker template
${nav_item.getLayout().getTypeSettingsProperty("lfr-theme:regular:custom-setting")}
@ocidique
Copy link
Author

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")}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment