Wednesday, March 10, 2010

How to remove a portlet

To delete Plone's default portlets in your product, just add an assignment (to profiles/default/portlets.xml) with the "remove" attribute:
<assignment
manager="plone.leftcolumn"
category="context"
key="/"
type="portlets.Navigation"
name="navigation"
remove=""
/>

You can find the names, types and managers of the portlets in Product.CMFPlone's portlets.xml. Moving a portlet from one column to the other is as simple as removing it in one place and deleting it in the other.

1 comment:

Anonymous said...

thanks for this!