20 February, 2012

Create account URL in velocity template

Hi Everyone,

If you want to generate Create account URL in velocity file , you can use below code :


#set ($create_account_url = $portletURLFactory.create($request,  "58", $page.getPlid(),  "ACTION_PHASE"))
$create_account_url.setWindowState(WindowState.MAXIMIZED);
$create_account_url.setPortletMode(PortletMode.VIEW);
$create_account_url.setParameter("saveLastPath", "0");
$create_account_url.setParameter("struts_action", "/login/create_account");
and then you can use use $create_account_url variable .

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...