Here you have a table of the output of some Velocity variables used in Liferay, I’ve used the portal_normal.vm to print the value.
- $portalUtil.getHost($request) –> localhost
- $request.getClass().getName() –>com.liferay.portal.kernel.servlet.ProtectedServletRequest
- $themeDisplay.getPathThemeRoot() –> /nameoftheme/
- $full_templates_path –> volkswagenexpeience-theme_SERVLET_CONTEXT_/templates
Some interesting links:
Themes at Liferay
I will update this post as soon as possible because now I can’t finish it.