Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Thomas Kellerer
Create a regular Liferay page that contains "MyAccount"
August 25, 2010 6:05 AM
Answer

Thomas Kellerer

Rank: Expert

Posts: 377

Join Date: June 9, 2008

Recent Posts

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"
August 25, 2010 6:11 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1721

Join Date: November 5, 2008

Recent Posts

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"
August 25, 2010 6:40 AM
Answer

Thomas Kellerer

Rank: Expert

Posts: 377

Join Date: June 9, 2008

Recent Posts

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"
August 25, 2010 10:00 PM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1721

Join Date: November 5, 2008

Recent Posts

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"
August 25, 2010 11:41 PM
Answer

Thomas Kellerer

Rank: Expert

Posts: 377

Join Date: June 9, 2008

Recent Posts

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"
October 2, 2010 4:53 PM
Answer

Jen Fong

Rank: New Member

Posts: 10

Join Date: May 19, 2010

Recent Posts

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"
September 3, 2012 5:40 AM
Answer

Mazhar Alam

Rank: Regular Member

Posts: 201

Join Date: November 25, 2011

Recent Posts

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"
September 3, 2012 8:53 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11046

Join Date: September 1, 2006

Recent Posts

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"
June 18, 2013 10:35 AM
Answer

Eric Smith

Rank: Junior Member

Posts: 64

Join Date: August 28, 2012

Recent Posts

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