Hi All, just thought I would share a little hack I've come across.

We have a client that requires users to have locked-in portlets within their Teaming experience. Meaning, portlets that they cannot delete.

Within the following file..

ROOT/html/themes/<THEME NAME HERE>/templates/portlet.vm

You'll come across


simply replace that with:

#if ( $portlet_id != "<PORTLET ID HERE>" )

Where <PORTLET ID HERE> is the ID of the portal you wish to lock in. Do this within all the themes you plan on using.

This will prevent the average user from closing the portlet of the ID you insert here, of course you can add more ID's with the use of an OR in your condition.

Hope this helps.

Directory Concepts Pty Ltd.