Fórum

My account portlet customization

thumbnail
Nishikant sapkal, modificado 13 Anos atrás.

My account portlet customization

Junior Member Postagens: 80 Data de Entrada: 16/02/10 Postagens Recentes
hi all,
can anybody tell me how existing portlet uses presentation part like in my account portlet i want that image should display on left hand side and wanted to add new box like personal information over there such that all information should get stored in database. ALSo how to bring my account portlet in my add aplication catogary?
thumbnail
Sandeep Nair, modificado 13 Anos atrás.

RE: My account portlet customization

Liferay Legend Postagens: 1744 Data de Entrada: 06/11/08 Postagens Recentes
You can create a jsp hook to do the modification on JSP side.

In order to make it available in add application comment out
<system>true</system>
in liferay-portlet.xml for My account portlet(Portlet id = 2)

Regards,
Sandeep
Bozhidar Dedov, modificado 12 Anos atrás.

RE: My account portlet customization

New Member Postagens: 10 Data de Entrada: 30/08/11 Postagens Recentes
Hi Nishikant,

This might be useful for you. At the bottom the article explains how to play with the section on the right side.
Samiksha Saxena, modificado 11 Anos atrás.

RE: My account portlet customization

New Member Mensagem: 1 Data de Entrada: 08/08/12 Postagens Recentes
Hi,
I am trying to create my own my account portlet and want to disable the default My account portlet. How can I do so?
Also i want to read and write the user information from database in this new portlet. How is this achievable?


thanks
thumbnail
Nishikant sapkal, modificado 10 Anos atrás.

RE: My account portlet customization

Junior Member Postagens: 80 Data de Entrada: 16/02/10 Postagens Recentes
Samiksha Saxena:
Hi,
I am trying to create my own my account portlet and want to disable the default My account portlet. How can I do so?
Also i want to read and write the user information from database in this new portlet. How is this achievable?


thanks


I think its too late to reply but still you can achieve using liferay Hooks.
thumbnail
Soori Babu Meesala, modificado 9 Anos atrás.

RE: My account portlet customization

Junior Member Postagens: 43 Data de Entrada: 10/07/14 Postagens Recentes
Create a Hook to override the portal.properties file.
In portal.properties file add the below lines

users.form.my.account.main=details,password 
 users.form.my.account.identification=addresses
users.form.my.account.miscellaneous= comments  


This way details,password ,address,comments will only be shown in myaccount portlet.

~Regards,
Soori Babu Meesala
thumbnail
Soori Babu Meesala, modificado 8 Anos atrás.

RE: My account portlet customization

Junior Member Postagens: 43 Data de Entrada: 10/07/14 Postagens Recentes
Hi,
You can override the "/portal-master/portal-web/docroot/html/portlet/users_admin/edit_user.jsp" jsp file using hook to customize the myaccount page.

~Regards,
Soori Babu Meesala.
Subhakar Siva, modificado 8 Anos atrás.

RE: My account portlet customization

New Member Postagens: 10 Data de Entrada: 30/12/13 Postagens Recentes
Hello,

I would like to prompt the user to enter the current password in order to save any updates made to the my-account page. One way I think of doing it is to add new password field to the my-account jsp page and do the validation. Or is there a way to toggle the existing password fields as required ( under Password section) if the user attempts to save the updates?
thumbnail
Kiran Yalavali, modificado 7 Anos atrás.

RE: My account portlet customization

Regular Member Postagens: 175 Data de Entrada: 15/10/14 Postagens Recentes
Hi Nishikant,

I'm facing the same problem ,if you know how to do it,
please help me,

Thanks,
Kiran.