Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
robel gmichael
create_account.jsp
August 26, 2014 1:35 AM
Answer

robel gmichael

Rank: New Member

Posts: 1

Join Date: August 24, 2014

Recent Posts

hi everbody!
i want to add a checkbox in my create account page so can any one tell me?
Mayur Patel
RE: create_account.jsp
August 26, 2014 1:50 AM
Answer

Mayur Patel

Rank: Expert

Posts: 341

Join Date: November 17, 2010

Recent Posts

Hi Robel,

If you're on Liferay v6.1, you can do all of this with a Hook Plugin. To customize the page you can use a JSP Hook and to pull your data out of the form you would override the struts action with a Struts Hook.

Here is an example of customizing the JSP Page
http://www.liferay.com/community/wiki/-/wiki/Main/Custom+Fields+and+JSP+Hooks

Here is a blog about overriding struts actions
http://www.liferay.com/web/mika.koivisto/blog/-/blogs/overriding-and-adding-struts-actions-from-hook-plugins

Thanks.
Soukaina HAJI
RE: create_account.jsp
August 29, 2014 10:24 AM
Answer

Soukaina HAJI

Rank: Regular Member

Posts: 196

Join Date: June 17, 2014

Recent Posts

if ur in liferay 6.2 ce ga2 , add this code in /html/portlet/login/login.jsp :
1<div class="checkboxDiv">
2                <input type="checkbox"  name=""  />
3                </div>


put it just before </aui:fieldset> ..

Regards,
Souka.