Fórum

Restricted account area (as in Liferay's own website)

J G, modificado 7 Anos atrás.

Restricted account area (as in Liferay's own website)

Junior Member Postagens: 53 Data de Entrada: 21/01/16 Postagens Recentes
Hi,

I would like to a have a restricted account area, similar to the "Account" Home at the Liferay website.
Users should be able to:
- change their admin details (e.g. username/password/email
- their download history

Is there anything I can reuse or should I build it myself?
In the latter case, are there any directions?

thanks,

JG
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Restricted account area (as in Liferay's own website)

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
What version of Liferay?

In Liferay 7, for example, it is easy to add new panels so you would just need to implement the way to track download history. Then create the panel and register it. If you need to alter the other panels, that's just a component override and/or a JSP fragment bundle. To remove panels, you can check my blog post on how to do it.
J G, modificado 7 Anos atrás.

RE: Restricted account area (as in Liferay's own website)

Junior Member Postagens: 53 Data de Entrada: 21/01/16 Postagens Recentes
Thanks for your response.
I use Liferay 7 GA3.

What I want to achieve is something similar to the Account Home in the Liferay website.
I do not want the standard user account panel, but instead full control of
- the data elements a user can see and edit
- how this is visualized.

Additionally, I need to add a few custom fields.

Are there any examples I can look at, or some directions you can give?

Best,

Jaap
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Restricted account area (as in Liferay's own website)

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
My blog shows how you can create a custom form navigator for "my account": https://web.liferay.com/web/user.26526/blog/-/blogs/removing-panels-from-my-account.

With the separate navigator you can add your own panels (instead of the Liferay defaults) and make them look however you want.
J G, modificado 7 Anos atrás.

RE: Restricted account area (as in Liferay's own website)

Junior Member Postagens: 53 Data de Entrada: 21/01/16 Postagens Recentes
Thank you.

But can I then also enforce that this is the only way for users to see their account details?
More precisely, I do not want to offer the user the standard left-screen panel at all.

-- Jaap
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Restricted account area (as in Liferay's own website)

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Yes because you're replacing Liferay's form navigator default ID with your own. The JSP fragment bundle override ensures that the original panels will not be displayed.
J G, modificado 7 Anos atrás.

RE: Restricted account area (as in Liferay's own website)

Junior Member Postagens: 53 Data de Entrada: 21/01/16 Postagens Recentes
I assume that the My Account Portlet in Liferay 7 is the "My Account" at the left of the default Liferay 7 theme.
What I want to achieve is the following:
- removal of a number of entries (e.g. address) for the end-user (this works with your own code)
- addition of some entries as defined by myself
- a new visualization (I want to get rid of the left standard liferay meny alltogether for all normal users).

For the last point, is the way here to develop new jsp fragments?