You are here: Home CMS.Info Blog Plone Plone: Show or hide portlets for a Page Template

Plone: Show or hide portlets for a Page Template

Small tip from plone Users List

Raul Buira asked:

Can I add a left/right_slot  property only for a Page Template (not for its folder)?

Martin Aspeli answered:

Yes, but not through the ZMI. You'll have to customise/edit the page template and add some macro overrides. See  PloneHelpCenter SVN

where we hide the right slot. Note that this replaces the entire slot. You'll have to call the portlet macros directly
metal:use-macro="here/portlet_foo/macros/portlet"
 to get portlets in there.

_____
tags:
Document Actions
CMS.Info Blog

RSS Subscribe to CMS Info by saving the URL of RSS icon to use in your newsreader.

Categories:
Plone (27)
Zope (1)
 
Powered by Plone