Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Cynthia Kimball
Portlet ID list? [Resolved]
August 25, 2010 10:07 AM
Answer

Cynthia Kimball

Rank: Junior Member

Posts: 45

Join Date: July 26, 2010

Recent Posts

I am working through creating the default layouts for organization, community and user pages.

My question is - how do I figure out the IDs for the specific portlets I want to use?

Example:

1default.guest.public.layout.column-1=58
2default.guest.public.layout.column-2=47


Now the book I am using, Jonas Yuan's book Liferay Portal 6 Enterprise Intranets and he says that 58 is the sign-in portlet and 47 is the Hello World portlet.

Now, I don't even know if those IDs are specific to all instances of Liferay 6 or if it has to do with each instance - either way, I need to figure out what the IDs are so that I can set these up.

Any ideas?

Thia emoticon
Cynthia Kimball
RE: Portlet ID list?
August 25, 2010 10:07 AM
Answer

Cynthia Kimball

Rank: Junior Member

Posts: 45

Join Date: July 26, 2010

Recent Posts

Okay, this is one of those cases where: the moment you ask, the answer suddenly occurs to you! emoticon

I figured out how to find the ID's. If you look at the portlet and choose the button that opens up the Configuration options, choose "Sharing".

Under the Script type code, look at the number/name that comes before the last '.

So, the sign-in ID is 58, the announcement is 84, and things like web-content will appear like: 56_INSTANCE_yuI4 .

I feel strange answering my own question . . . but at least I figured it outemoticon

But, if you happen to know how to find a complete listing of all the IDs, I would love to hear about it!

Thia emoticon
Amos Fong
RE: Portlet ID list?
August 25, 2010 10:52 AM
Answer

Amos Fong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1844

Join Date: October 7, 2008

Recent Posts

Hi Cynthia,

There are two files in WEB-INF that list all of them out, liferay-portlet.xml and portlet-custom.xml
Cynthia Kimball
RE: Portlet ID list?
August 25, 2010 12:48 PM
Answer

Cynthia Kimball

Rank: Junior Member

Posts: 45

Join Date: July 26, 2010

Recent Posts

Thanks Amos!
Scott Palmer
RE: Portlet ID list?
August 26, 2010 5:22 PM
Answer

Scott Palmer

Rank: Junior Member

Posts: 36

Join Date: January 8, 2010

Recent Posts

Amos Fong:
Hi Cynthia,

There are two files in WEB-INF that list all of them out, liferay-portlet.xml and portlet-custom.xml


Additionally they are shown in each portlets 'look and feel' tab under advanced css.