Foren

Combine two admin portlets into 1

thumbnail
Rajendrappa HS, geändert vor 12 Jahren.

Combine two admin portlets into 1

New Member Beiträge: 12 Beitrittsdatum: 22.07.11 Neueste Beiträge
Hi
Admin portlets appear one below the other when I add those.
I am trying to put the admin portlets (Users, UserGroups and Roles) into 1 single portlet for better usability.
I would put each of these portlets as tab items under one page.
Can this be done ?

Thanks and regards,
Raju
thumbnail
David H Nebinger, geändert vor 12 Jahren.

RE: Combine two admin portlets into 1

Liferay Legend Beiträge: 14916 Beitrittsdatum: 02.09.06 Neueste Beiträge
Certainly it can be done.

You'd create a hook plugin that will have the override for the JSPs for one of the portlets which merges all of the JSPs the way that you want them. It should also disable the other two portlets to have them not be visible.

Take care when merging the init.jsp file to include everything pulled in from the three separate portlets as that's where your external dependencies will be satisfied for the JSPs.