Fórum

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

Jack Thinkin, modificado 7 Anos atrás.

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

Junior Member Postagens: 45 Data de Entrada: 09/05/16 Postagens Recentes
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 7 Anos atrás.

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

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
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 7 Anos atrás.

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

Junior Member Postagens: 45 Data de Entrada: 09/05/16 Postagens Recentes
is there opportunity to link these portlets from control panel in navigation menu without frame "control panel"? thanks
thumbnail
David H Nebinger, modificado 7 Anos atrás.

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

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
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.