Fórum

create_account.jsp

thumbnail
robel gmichael, modificado 9 Anos atrás.

create_account.jsp

New Member Mensagem: 1 Data de Entrada: 25/08/14 Postagens Recentes
hi everbody!
i want to add a checkbox in my create account page so can any one tell me?
thumbnail
Mayur Patel, modificado 9 Anos atrás.

RE: create_account.jsp

Expert Postagens: 358 Data de Entrada: 17/11/10 Postagens Recentes
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.
thumbnail
Soukaina HAJI, modificado 9 Anos atrás.

RE: create_account.jsp

Regular Member Postagens: 195 Data de Entrada: 17/06/14 Postagens Recentes
if ur in liferay 6.2 ce ga2 , add this code in /html/portlet/login/login.jsp :
<div class="checkboxDiv">
				<input type="checkbox" name="">
				</div>


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

Regards,
Souka.