0

I'm creating a theme on Liferay. I have a page for custom searches located in a special page in which the search portlet is contained. I'm using the following syntax in velocity to get the URL of the page but I don't manage to obtain it:

set($URL=$portalUtil.getLayoutFullURL($scopeGroupId,$portletIDsearch)

I do this because I don't want to use hard links.

How can I achieve that?

Community
  • 1
  • 1
user73793
  • 151
  • 8

1 Answers1

0

You can use this :

#set ($url = $themeDisplay.getURLCurrent())
Debopam Mitra
  • 1,842
  • 4
  • 27
  • 51