Fórum

Making Portlet Error Message invisible

thumbnail
Udaya Ramakrishnan, modificado 12 Anos atrás.

Making Portlet Error Message invisible

Junior Member Postagens: 67 Data de Entrada: 07/09/11 Postagens Recentes
hi

If any user don’t have permission to access a portlet, Liferay Portal display the following permission error message

“you don’t have required permission to access this portlet”

Instead of displaying the error message we can make that portlet invisible for that particular user by setting the following property in portal-ext.properties file –

layout.show.portlet.access.denied=false

Thanks
Udaya.R
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: Making Portlet Error Message invisible

Liferay Legend Postagens: 14916 Data de Entrada: 02/09/06 Postagens Recentes
Is there a question here, or was this just a general statement?
Ishan Sahore, modificado 11 Anos atrás.

RE: Making Portlet Error Message invisible

Junior Member Postagens: 56 Data de Entrada: 26/04/12 Postagens Recentes
I tried this step but of no avail.
The file path was:

\liferay-plugins-sdk-6.1.0-ce-ga1-20120106155615760\tools\ext_tmpl\docroot\WEB-INF\ext-impl\src\portal-ext.properties

I added "layout.show.portlet.access.denied=false" to the file, initially the file wa empty.
Is it the correct file that I have edited?
thumbnail
Ravi Kumar Gupta, modificado 11 Anos atrás.

RE: Making Portlet Error Message invisible

Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Why with ext plugin? Just modify that in tomcat/webapps/root/web-inf/classes/portal-ext.properties file.
Ishan Sahore, modificado 11 Anos atrás.

RE: Making Portlet Error Message invisible

Junior Member Postagens: 56 Data de Entrada: 26/04/12 Postagens Recentes
Ravi Kumar Gupta:
Why with ext plugin? Just modify that in tomcat/webapps/root/web-inf/classes/portal-ext.properties file.



Thanks, working now emoticonemoticon