Hello guys
Here, I have created a URL for registration in velocity template .
Follow below steps to implement in custom liferay theme.
Step1: put below code in Portal_normal.vm file or inside your div or table in Portal_normal.vm.
#set ($UserCreateURL = $portletURLFactory.create($request, "58", $page.getPlid(), "RENDER_PHASE"))
$UserCreateURL.setPortletMode("view")
$UserCreateURL.setWindowState("maximized")
$UserCreateURL.setParameter("struts_action", "/login/create_account")
$UserCreateURL.setParameter("", "")
<a href="$UserCreateURL">REGISTER</a><font color="#BBBBBB">|</font>
Step 2: Write css to display in custom.css
0 Comment(s)