[Framework-Team] Re: Body class
Hanno Schlichting
hanno at hannosch.eu
Sun Jan 17 15:52:41 UTC 2010
On Sun, Jan 17, 2010 at 4:24 PM, Martin Aspeli <optilude at gmail.com> wrote:
> Any chance we could put this in a separate view utility instead of the
> @@plone one, so that it's more sane to override?
Yeah. With bodyClass already being on that view, it felt ok-ish. But I
guess there's a couple of "visual policy" methods in there which
should go into their own view somewhere in plone.app.layout.
Just looking at the methods, I'd move the following to a new view
(leaving BBB support in the old place):
mark_view
have_portlets
hide_columns
renderBase
bodyClass
These all feel like things that influence CSS classes or UI policy in some way.
Hanno
More information about the Framework-Team
mailing list