Foros de discusión

Making Portlet Error Message invisible

thumbnail
Udaya Ramakrishnan, modificado hace 12 años.

Making Portlet Error Message invisible

Junior Member Mensajes: 67 Fecha de incorporación: 7/09/11 Mensajes recientes
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 hace 12 años.

RE: Making Portlet Error Message invisible

Liferay Legend Mensajes: 14916 Fecha de incorporación: 2/09/06 Mensajes recientes
Is there a question here, or was this just a general statement?
Ishan Sahore, modificado hace 11 años.

RE: Making Portlet Error Message invisible

Junior Member Mensajes: 56 Fecha de incorporación: 26/04/12 Mensajes recientes
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 hace 11 años.

RE: Making Portlet Error Message invisible

Liferay Legend Mensajes: 1302 Fecha de incorporación: 24/06/09 Mensajes recientes
Why with ext plugin? Just modify that in tomcat/webapps/root/web-inf/classes/portal-ext.properties file.
Ishan Sahore, modificado hace 11 años.

RE: Making Portlet Error Message invisible

Junior Member Mensajes: 56 Fecha de incorporación: 26/04/12 Mensajes recientes
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