4/19/2014

How to show a portlet on every page / layout

If you want to show a portlet on every layout in our portal, you can simply add it´s portlet id to your portal-ext.properties.
Do it like this:

layout.static.portlets.all=your-portlet-id
Once done, your portlet should be available on all pages. If you want to prevent users from deploying portlets manually you can set the following property in your liferay-portlet.xml:


<system>true</system>

If you like this post it would be very nice, if you could click on some of the google ads you see on the right side. It helps me run this block and motivates me ;)

If you have any questions, feel free to leave a comment.