Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
sasmita swain
portlet id for user_admin
December 30, 2012 11:26 PM
Answer

sasmita swain

Rank: Regular Member

Posts: 185

Join Date: February 24, 2012

Recent Posts

Hi
i am working on LR 6.1..in my account page,user information is there ie user_admin portlet...what is the id for user_admin portlet??

can anybody help me out??

Thanks

Sasmita
Alberto Chaparro
RE: portlet id for user_admin
December 30, 2012 11:51 PM
Answer

Alberto Chaparro

LIFERAY STAFF

Rank: Regular Member

Posts: 133

Join Date: April 25, 2011

Recent Posts

Hi Sasmita,

You can find the id for every portlet in the file:
/liferay-portal/portal-web/docroot/WEB-INF/liferay-portlet.xml

I hope it helps you.

Cheers.
Hitoshi Ozawa
RE: portlet id for user_admin
December 31, 2012 12:03 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

portlet-name is the portlet id.

User Admin:
<portlet-name>125</portlet-name>
<icon>/html/icons/users_admin.png</icon>


My Account:
<portlet-name>2</portlet-name>
<icon>/html/icons/my_account.png</icon>
Rewati Raman
RE: portlet id for user_admin
December 31, 2012 3:18 AM
Answer

Rewati Raman

Rank: Junior Member

Posts: 97

Join Date: February 24, 2012

Recent Posts

Hi Sasmita,

if you want to know portlet-id of any portlet

goto your portlet whose id you want to know then follow these steps..

1. click on option (wrench mark icon)
2. select look and feel
3 now goto advance styling tag


here you will get the information like this
Your current portlet information is as follows::
Portlet ID: #portlet_67

hope this will be helpful
Hitoshi Ozawa
RE: portlet id for user_admin
December 31, 2012 3:32 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Rewati,

User Admin portlet is only available from the Control Panel. It's a hidden portlet that does not show up as a list of portlets that can be added to a page.
I don't think portlets in Control Panel has "option".
Rewati Raman
RE: portlet id for user_admin
January 1, 2013 11:01 PM
Answer

Rewati Raman

Rank: Junior Member

Posts: 97

Join Date: February 24, 2012

Recent Posts

hi hitoshi

thanks for correcting me

if the portlet is in control panel
we need to go to the following path
liferay-portall/tomcat-7.0.27/webapps/ROOT/WEB-INF/liferay-portlet.xml

here we can get portlet id's of all in-built portlets
as u specified earlier portlet name is portlet-id

Regards,
Rewati Raman