Foros de discusión

Can portlets from category hidden be reused and added in pages? Liferay 7

Jack Thinkin, modificado hace 7 años.

Can portlets from category hidden be reused and added in pages? Liferay 7

Junior Member Mensajes: 45 Fecha de incorporación: 9/05/16 Mensajes recientes
Can category "hidden" be shown in menu Add applications on the right side? (Sure if these portlets can be added to pages)

p.s. It is like this question https://issues.liferay.com/browse/LPS-24369
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Can portlets from category hidden be reused and added in pages? Liferay

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
There are kind of two different issues there. The Hidden category was meant to keep them out of the apps list because you don't want users to try and drop them on a page. Control panels are good instances of this, plus those that must be shipped as portlets but have no UI of their own.

The ADD_TO_PAGE is a permission indicating any user can place it on a page. It so happens that Liferay would not attempt adding the perm to the portlet during load because it is already marked as hidden.

So if you're going to hide a portlet in the hidden category, users cannot select and put on a page.
Jack Thinkin, modificado hace 7 años.

RE: Can portlets from category hidden be reused and added in pages? Liferay

Junior Member Mensajes: 45 Fecha de incorporación: 9/05/16 Mensajes recientes
is there opportunity to link these portlets from control panel in navigation menu without frame "control panel"? thanks
thumbnail
David H Nebinger, modificado hace 7 años.

RE: Can portlets from category hidden be reused and added in pages? Liferay

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
I'm not sure that the 6.x control panels are designed for general consumption outside of the control panel.

The CP has it's own theme that your standard theme may not render CP correctly, and CP portlets kind of have visual dependencies on the theme settings.