留言板
Making Portlet Error Message invisible
Udaya Ramakrishnan,修改在12 年前。
Making Portlet Error Message invisible
Junior Member 帖子: 67 加入日期: 11-9-7 最近的帖子
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
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,修改在12 年前。
RE: Making Portlet Error Message invisible
Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
Is there a question here, or was this just a general statement?
Ishan Sahore,修改在12 年前。
RE: Making Portlet Error Message invisible
Junior Member 帖子: 56 加入日期: 12-4-26 最近的帖子
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?
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,修改在12 年前。
RE: Making Portlet Error Message invisible
Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Why with ext plugin? Just modify that in tomcat/webapps/root/web-inf/classes/portal-ext.properties file.
Ishan Sahore,修改在12 年前。
RE: Making Portlet Error Message invisible
Junior Member 帖子: 56 加入日期: 12-4-26 最近的帖子Ravi Kumar Gupta:
Why with ext plugin? Just modify that in tomcat/webapps/root/web-inf/classes/portal-ext.properties file.
Thanks, working now