Thursday, April 17, 2014

Possible ways to hide/show Portlet border in Liferay

There are several ways to hide/show portlet border in Liferay.
1. Configure in every portlet.
To show/hide portlet border in every individual portlet, detailed steps shown in previous post.

2. Configure in theme;
All portlets within the configured theme will be show/hide border by default.
add the following line into liferay-look-and-feel.xml
the value is either true or false.
<theme id="myTheme" name="myTheme" >
    <settings>
        <setting key="portlet-setup-show-borders-default" value="true|false" />
    </settings>
     .............................................
     .............................................
</theme>

3. Configure in portal-ext.properties;
All portlets will be show/hide border by default
add the following line into portal-ext.properties
the value is either true or false.

theme.portlet.decorate.default=true|false



Done!!

No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...