留言板

[SOLVED] Common content on all pages

Raj Mathur,修改在14 年前。

[SOLVED] Common content on all pages

New Member 帖子: 23 加入日期: 09-7-26 最近的帖子
Is it possible to have one (or more) portlets common to all pages? E.g. have a category navigation or a customised asset publisher that show up in a sidebar on all new pages?

If it has to be done manually, can it be done with the same portlet or will we need multiple copies of the portlet, one for each page?

Regards,

-- Raj
Thomas Kellerer,修改在14 年前。

RE: Common content on all pages

Expert 帖子: 490 加入日期: 08-6-9 最近的帖子
Check out the "portal_norma.vm" from the Liferay Jedi Theme.

It includes a sample on how to include a Journal portlet as part of the theme.

Regards
Thomas
Oliver Bayer,修改在14 年前。

RE: Common content on all pages

Liferay Master 帖子: 894 加入日期: 09-2-18 最近的帖子
Hi,

take a look at the portal.properties and look out for static portlets.
#
# Specify static portlets that cannot be moved and will always appear on
# every layout. Static portlets will take precedence over portlets that may
# have been dynamically configured for the layout.
#
...

Oli
Raj Mathur,修改在14 年前。

RE: Common content on all pages

New Member 帖子: 23 加入日期: 09-7-26 最近的帖子
Thanks for the pointers, Thomas and Oliver, trying the portal.properties route now.