Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Liferay DXP/7 : Get theme path in Freemarker template
<#assign theme_images_complete_path = request['theme-display']['path-theme-images']>
<#assign theme_images_path = httpUtil.getPath(theme_images_complete_path)>
<#assign theme_path = theme_images_path?keep_before("/images")>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.