留言板

Enabling Control Panel Portlets in Add Application

thumbnail
Kamesh Sampath,修改在11 年前。

Enabling Control Panel Portlets in Add Application

Regular Member 帖子: 158 加入日期: 10-5-27 最近的帖子
Hi,

I am trying to enable some control panel portlets to be listed under the "Add Application" menu, i tried editing the portlet-custom.xml and liferya-portlet.xml files to comment out the control-panel related entries.

But I am unable to see the portlet(s) under the "Add" menu.

Is this suffice for it to be listed or do I need to do any futher changes?
thumbnail
Ravi Kumar Gupta,修改在11 年前。

RE: Enabling Control Panel Portlets in Add Application

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Add application menu will try to list only those portlets which are mentioned in liferay-display.xml file. Try changing just that file.
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: Enabling Control Panel Portlets in Add Application

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Follow Ravi's advice. Recommend keeping porlets listed in Control Panel so Admin will always be able to change settings.
thumbnail
Kamesh Sampath,修改在11 年前。

RE: Enabling Control Panel Portlets in Add Application

Regular Member 帖子: 158 加入日期: 10-5-27 最近的帖子
Thanks so much for your replies.

After following your thoughts, I updated the files but then I see that am getting ADD_PAGE NoSuchResourceAction error, I see that we need to add the ADD_PAGE resource to this portlet, just wondering can we do that using a hook, since resource.xml is part of portal-impl.jar. Since I use EE version not sure i can edit that jar.

Any other way to accomplish that ?
thumbnail
Vishal Panchal,修改在11 年前。

RE: Enabling Control Panel Portlets in Add Application

Expert 帖子: 289 加入日期: 12-5-20 最近的帖子
Hi Kamesh Sampath,

you can do that using a EXT, since resource.xml is part of portal-impl.jar. Since I use EE version not sure i can edit that jar.

please visit link for how to do it.

please let me know if any inputs require..!

Thanks & regards,
Vishal R. Panchal
Roshan Qureshi,修改在10 年前。

RE: Enabling Control Panel Portlets in Add Application

Regular Member 帖子: 159 加入日期: 10-8-24 最近的帖子
Hi,

Please follow below link for this.
https://www.liferay.com/web/juan.fernandez/blog/-/blogs/adding-the-workflow-portlets-to-a-page

Its a nice blog for the same requirement.
Hope this will help.

Regards,
Roshan Qureshi
Roshan Qureshi,修改在10 年前。

RE: Enabling Control Panel Portlets in Add Application

Regular Member 帖子: 159 加入日期: 10-8-24 最近的帖子
Hi friends,

Currently we have to create ext to add a OOB liferay portlet on the portal page.

Its a common feature in many liferay portal requirements and so we should be able to achieve this by minimum efforts by some configurations only.

I have created one request for this feature to Liferay.

Please vote for this if you like it.

http://issues.liferay.com/browse/LPS-42946

Thanks,
Roshan Qureshi
thumbnail
Mohammed Mujahid,修改在5 年前。

RE: Enabling Control Panel Portlets in Add Application

New Member 帖子: 16 加入日期: 09-11-7 最近的帖子

Hello all,

 

I know this is a very old thread but has anyone achieved this in Liferay 7?

 

Thanks