Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Kamesh Sampath
Enabling Control Panel Portlets in Add Application
21 de abril de 2012 23:18
Respuesta

Kamesh Sampath

Ranking: Regular Member

Mensajes: 131

Fecha de incorporación: 26 de mayo de 2010

Mensajes recientes

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?
Ravi Kumar Gupta
RE: Enabling Control Panel Portlets in Add Application
22 de abril de 2012 0:54
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1041

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

Add application menu will try to list only those portlets which are mentioned in liferay-display.xml file. Try changing just that file.
Hitoshi Ozawa
RE: Enabling Control Panel Portlets in Add Application
22 de abril de 2012 3:28
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 8000

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Follow Ravi's advice. Recommend keeping porlets listed in Control Panel so Admin will always be able to change settings.
Kamesh Sampath
RE: Enabling Control Panel Portlets in Add Application
22 de abril de 2012 5:53
Respuesta

Kamesh Sampath

Ranking: Regular Member

Mensajes: 131

Fecha de incorporación: 26 de mayo de 2010

Mensajes recientes

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 ?
Vishal Panchal
RE: Enabling Control Panel Portlets in Add Application
6 de septiembre de 2012 5:43
Respuesta

Vishal Panchal

Ranking: Expert

Mensajes: 272

Fecha de incorporación: 20 de mayo de 2012

Mensajes recientes

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