Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Udaya Ramakrishnan
Making Portlet Error Message invisible
8 de Novembro de 2011 02:36
Resposta

Udaya Ramakrishnan

Ranking: Junior Member

Mensagens: 67

Data de entrada: 6 de Setembro de 2011

Mensagens 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
David H Nebinger
RE: Making Portlet Error Message invisible
8 de Novembro de 2011 10:05
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 11325

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

Is there a question here, or was this just a general statement?
Ishan Sahore
RE: Making Portlet Error Message invisible
25 de Abril de 2012 21:52
Resposta

Ishan Sahore

Ranking: Junior Member

Mensagens: 56

Data de entrada: 25 de Abril de 2012

Mensagens 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?
Ravi Kumar Gupta
RE: Making Portlet Error Message invisible
25 de Abril de 2012 21:56
Resposta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensagens: 1303

Data de entrada: 23 de Junho de 2009

Mensagens recentes

Why with ext plugin? Just modify that in tomcat/webapps/root/web-inf/classes/portal-ext.properties file.
Ishan Sahore
RE: Making Portlet Error Message invisible
25 de Abril de 2012 22:10
Resposta

Ishan Sahore

Ranking: Junior Member

Mensagens: 56

Data de entrada: 25 de Abril de 2012

Mensagens 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