Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Thomas Kellerer
Create a regular Liferay page that contains "MyAccount"
25 août 2010 06:05
Réponse

Thomas Kellerer

Rang: Expert

Publications: 377

Date d'inscription: 9 juin 2008

Publications Récentes

Hi,

is it possible to create a regular Liferay page (that shows up in the navigation) that gives the user the ability to modify his/her account.

So essentially a page with the "My Account" portlet that looks like all other pages, and is not displayed as part of the Control Panel
Sandeep Nair
RE: Create a regular Liferay page that contains "MyAccount"
25 août 2010 06:11
Réponse

Sandeep Nair

Rang: Liferay Legend

Publications: 1721

Date d'inscription: 5 novembre 2008

Publications Récentes

To make My Account portlet not available in Control Panel and show just as any other normal addable portlet, you have to modify the liferay-portlet.xml

The first portlet with portlet id 2 is My Account portlet. There is a tag at the end named <system>true</system>

Remove or comment that line and restart the server

Regards,
Sandeep
Thomas Kellerer
RE: Create a regular Liferay page that contains "MyAccount"
25 août 2010 06:40
Réponse

Thomas Kellerer

Rang: Expert

Publications: 377

Date d'inscription: 9 juin 2008

Publications Récentes

I don't want to remove it from the Control Panel. It should still be in there for aministrators.

I simply want to create a page where regular users can edit their profile without the need to "change" to the control panel (which looks totally different than the rest of portal).
Sandeep Nair
RE: Create a regular Liferay page that contains "MyAccount"
25 août 2010 22:00
Réponse

Sandeep Nair

Rang: Liferay Legend

Publications: 1721

Date d'inscription: 5 novembre 2008

Publications Récentes

Then you have to create a custom portlet for that with whatever details and look that you want and add it in that page and you have to use My Account portlet as a reference.

Regards,
Sandeep
Thomas Kellerer
RE: Create a regular Liferay page that contains "MyAccount"
25 août 2010 23:41
Réponse

Thomas Kellerer

Rang: Expert

Publications: 377

Date d'inscription: 9 juin 2008

Publications Récentes

OK, I feared that we'll need to do our custom development.

Which is really a shame, it should be possible to simply put that (already available) portlet on a page outside the control panel.

Thanks
Thomas
Jen Fong
RE: Create a regular Liferay page that contains "MyAccount"
2 octobre 2010 16:53
Réponse

Jen Fong

Rang: New Member

Publications: 10

Date d'inscription: 19 mai 2010

Publications Récentes

Hi, Thomas--

Did you eventually create your own replacement portlet for 'myaccount' or did you figure out how to get the 'myaccount' portlet onto a regular page?

I agree that it really is a shame we would have to write our own, as the myaccount portlet is quite nicely laid out already and having to delve into the API for user update functions for our own custom portlet wasn't part of our plan. emoticon But anyhow, I was just curious how you eventually solved this problem.
Mazhar Alam
RE: Create a regular Liferay page that contains "MyAccount"
3 septembre 2012 05:40
Réponse

Mazhar Alam

Rang: Regular Member

Publications: 201

Date d'inscription: 25 novembre 2011

Publications Récentes

Hey did you find a way of doing this...?
To create a page for user to manage his user details..

Thanks
David H Nebinger
RE: Create a regular Liferay page that contains "MyAccount"
3 septembre 2012 08:53
Réponse

David H Nebinger

Community Moderator

Rang: Liferay Legend

Publications: 11046

Date d'inscription: 1 septembre 2006

Publications Récentes

I don't think creating your own is absolutely necessary.

You can probably copy the portlet info in portlet.xml and liferay-portlet.xml to define a new portlet using all of the same info. Just don't call it portlet '2', and strip the system flag from the entry in liferay-portlet.xml.
Eric Smith
RE: Create a regular Liferay page that contains "MyAccount"
18 juin 2013 10:35
Réponse

Eric Smith

Rang: Junior Member

Publications: 64

Date d'inscription: 28 août 2012

Publications Récentes

Here's how to do it with 6.1.1 GA2, just be careful with the ext.

http://michi-path.blogspot.ca/2013/05/use-createmy-account-portlet-liferay-61.html