Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to get theme preferences and use them in a layout? Liferay 7.2
Hi,
I´m trying to get theme preferences in a layout but I get this error when I´m deploying the layout : The following has evaluated to null or missing.
I can use theme preferences perfectly in templates. This is how I get values in a template:
<#assign themePreference = getterUtil.getString(themeDisplay.getThemeSetting("themePreference"))/>I´m trying to do same way in a layout but it doesn´t work. In any case I can´t use variables from templates in layouts.Thank you.
Hi!
Have you found a solution???
Have you found a solution???
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™