How can I remove portlets in edit mode with Plone 4?
I'm used to achieve this under Plone 3 by override base_edit.cpt file under portal_skin and make columns empty: <metal:head fill-slot="column_one_slot"></metal:head> <metal:head fill-slot="column_two_slot"></metal:head> I have tried to achieve this with Plone4 and the result is quite weird: I have two empty columns and the edit mode doesn't stretch (stay in the middle of the page). In Plone 4 you can disable the columns by setting a couple variables on the request: <metal:override fill-slot="top_slot" tal:define="disable_column_one python:request.set('disable_plone.leftcolumn',1); disable