Step1: Add these lines in Portal_normal.vm files, where to want like inside your div or table
#set ($CreateAccountURL = $portletURLFactory.create($request, "58", $page.getPlid(), "RENDER_PHASE"))
$CreateAccountURL.setPortletMode("view")
$CreateAccountURL.setWindowState("maximized")
$CreateAccountURL.setParameter("struts_action", "/login/create_account")
$CreateAccountURL.setParameter("", "")
<a href="$CreateAccountURL">REGISTER</a><font color="#BBBBBB">|</font>
Step2: Write css to display in custom.css
#set ($CreateAccountURL = $portletURLFactory.create($request, "58", $page.getPlid(), "RENDER_PHASE"))
$CreateAccountURL.setPortletMode("view")
$CreateAccountURL.setWindowState("maximized")
$CreateAccountURL.setParameter("struts_action", "/login/create_account")
$CreateAccountURL.setParameter("", "")
<a href="$CreateAccountURL">REGISTER</a><font color="#BBBBBB">|</font>
Step2: Write css to display in custom.css
#
ReplyDelete# Enter a friendly URL of a page that will be used to create new accounts
# whenever the user clicks the "create account" link in the login portlet.
# This allows providing custom portlets to create accounts. By default, the
# portal's create account will be used.
#
company.security.strangers.url=/create_account
Hi. Jonathan thank's for comment.
ReplyDeleteThis property will work for portlet's. This bolg for just create the URL link for create account in theme level.
see Example here http://www.mpowerglobal.com. IF you click the Register you will get into create account.
ReplyDeletepaket umroh 2015
paket umroh Januari 2015
Biaya umroh 2015