When faced with the same problem I just created a paddingPortlet with
an empty template and the available property returning always true.
It also has the bonus you can remove it any time;)
George
On 23 Jan 2008, at 04:53, Stephan Altmueller wrote:
Hi,
I want to force Plone 3 to always show the right column
(portal-column-two), regardless whether there is a portlet
defined or not.
And I want to do that without changing the main template.
I have dug into the portlet manager code and there is a
property defined called "visible" that essentially controls
whether the portlet is shown or not.
I figured I could subclass the corresponding class
("PortletManagerRenderer"), override the visible property and
make Plone use my version of the class. But I am not able to
figure out whether that's possible and how to do it ?
That was the only approach I could come up with, does anybody know
whether this makes sense or have a better idea ?
Any help is greatly appreciated.
Thanks.
-- Stephan
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers