Foros de discusión

How to remove extra widgets from Applications.

Himanshu Sethi, modificado hace 7 años.

How to remove extra widgets from Applications.

New Member Mensajes: 13 Fecha de incorporación: 6/05/16 Mensajes recientes
Hi

For my project purpose I want to remove extra widgets from the Applications like Amazon Rankings,Shopping.I guess in portal-ext.properties we have to add some property.

Thanks for Help.
thumbnail
David H Nebinger, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
In LR 6 and earlier, these are core portlets that cannot be removed. You might be able to hide them, but they cannot be removed.

Under LR 7, these items are supposed to be OSGi modules that could be unregistered (and therefore removed). I know I've seen it done with polls, for example, but haven't tried with these others that you're looking for.
Himanshu Sethi, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

New Member Mensajes: 13 Fecha de incorporación: 6/05/16 Mensajes recientes
David H Nebinger:
In LR 6 and earlier, these are core portlets that cannot be removed. You might be able to hide them, but they cannot be removed.

Under LR 7, these items are supposed to be OSGi modules that could be unregistered (and therefore removed). I know I've seen it done with polls, for example, but haven't tried with these others that you're looking for.



Thanks for the information,can you explain in detail using commands which are required to be written in portal-ext.properties for hiding or removal whichever is possible.

Thanks in Advance.
thumbnail
David H Nebinger, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Can't be done in portal-ext.properties in either version.
Himanshu Sethi, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

New Member Mensajes: 13 Fecha de incorporación: 6/05/16 Mensajes recientes
David H Nebinger:
Can't be done in portal-ext.properties in either version.



Okay so what is the solution to this problem?

Thanks in Advance.
thumbnail
David H Nebinger, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
Which version of Liferay are we talking about here?
Himanshu Sethi, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

New Member Mensajes: 13 Fecha de incorporación: 6/05/16 Mensajes recientes
Hi

I am using Liferay v6.2.

I have removed the portlets from liferay-portlet.xml and portlet-custom.xml.Now the unused portlets are not shown in Applications.

Thanks
thumbnail
David H Nebinger, modificado hace 7 años.

RE: How to remove extra widgets from Applications.

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
So the typical way to do this is to change the liferay-display.xml file to put the portlets under the "category.hidden" category. That keeps all relevant code, definition, etc. in place but still removes it from the application menu.

Your solution will work but may present a challenge for you with respect to future upgrades.