Created
May 31, 2017 17:29
-
-
Save tejaskanani/b785dcd35631b75ac60f47eaf67a4651 to your computer and use it in GitHub Desktop.
Liferay DXP/7 : Get theme path in Freemarker template
This file contains 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
<#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