留言板
Borderless Portlet
Is there an easy way to create a single borderless portlet while leaving the rest of the entries on the page with the standard borders?
Is there an easy way to create a single borderless portlet while leaving the rest of the entries on the page with the standard borders?<br /><br /><br />Instead of extending portlet_default you can make a modified version which do not show borders. Look at Wiki display they can be set up to not show borders.
Hi,<br /><br />you can specify in liferay-portlet.xml <i>use-default-template="false"</i> to get no border.<br /><br />example:<br /><br />
<portlets>
<portlet id=""xxx"" use-default-template=""false"/">
</portlet></portlets>
<br /><br /><br />c u
phall@avexus.com phall@avexus.com:
Is there an easy way to create a single borderless portlet while leaving the rest of the entries on the page with the standard borders?
Hi,
You can keep <use-default-template> false </...> in liferay-portlet.xml.
or you can use following tag inside the portlet.xml to make it particular portlet borderless.
<portlet-preferences>
<preference>
<name>portlet-setup-show-borders</name>
<value>false</value>
</preference>
</portlet-preferences>
Thanks,
Sagar Vyas