留言板

Preconfigured OOTB portlets in portlet menu - how?

thumbnail
Hugh Martin,修改在12 年前。

Preconfigured OOTB portlets in portlet menu - how?

Junior Member 帖子: 75 加入日期: 10-6-15 最近的帖子
I feel certain this question has been asked and answered, but I could not find it.

We have some global web content that we would like to make available to community owners to add to their own communities. Most of these involve tagged content displayed via Asset Publisher portlets with a specific configuration (display style, pagination, etc.). For these specific portlets, we:

a) don't want users to have to set up new Asset Publisher portlets with all the right settings
b) want to ensure that the configuration for these specific groups of content is consistent across all sites.

I'm certain that this is possible, but how does one go about doing it?
thumbnail
Bijan Vakili,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how?

Expert 帖子: 375 加入日期: 09-3-10 最近的帖子
Hey Hugh,

Are you referring to default page layouts?

See below URI for default "My Community" layout:

http://www.liferay.com/community/forums/-/message_boards/message/2175018

Same can be done for organizations and communities.
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how?

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Something like what a site template can do?

http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/using-the-control-pan-4
thumbnail
Hugh Martin,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how?

Junior Member 帖子: 75 加入日期: 10-6-15 最近的帖子
Not exactly. I want them to be able to add them via the Add menu so that they can choose from a collection of pre-configured Asset Publisher portlets. Does that make sense?
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how?

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
You're confusing me. Do you want to add preconfigured asset publisher portlets containing specific web contents
to the Add menu which community administrator can add to a community public page (or is this to a community template)?
thumbnail
Hugh Martin,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how?

Junior Member 帖子: 75 加入日期: 10-6-15 最近的帖子
Sorry, didn't mean to confuse. Your first statement is correct; I want to be able to add pre-configured Asset Publisher portlets to the Add menu to be added to public or private community pages (not templates). For example, a portlet called "Company Events" would appear on the Add menu, but it's really just a pre-configured Asset Publisher portlet. In each case, the web content must be in the Global scope, but that's OK.
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how? (答复)

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
This won't be too easy.
To make a portlet show up in the Add list, it has a separate war package.
The content of the portlet is saved in the database instead of the war package.
I think you'll have to modify the Asset Publisher to insert pre-configured data into the database
like what 7cogs demo portlets are doing to do what you want to do.
thumbnail
Hugh Martin,修改在12 年前。

RE: Preconfigured OOTB portlets in portlet menu - how?

Junior Member 帖子: 75 加入日期: 10-6-15 最近的帖子
Thanks very much for the replies. I understand what you're saying - it makes sense.