[Plone-UI] editing the bodyClass method

Laurence Rowe l at lrowe.co.uk
Fri Jul 22 13:51:04 UTC 2011


On 11 July 2011 12:38, Geir Bækholt <plone at baekholt.com> wrote:
> On 11-07-2011 13:15, ida277 wrote:
>>
>> In Plone 3 you can customize the getSectionFromUrl.py script like this, to
>> get an unlimited depth of generated classes (like
>> "section-folder-subfolder-subsubfolder, f.e):
>
> It would be cool if someone made this script respect INavigationRoot in
> Plone core.
>

I did already. http://pypi.python.org/pypi/plone.app.layout

2.1.4 - 2011-04-03

Make the body section- class based on the navigation root instead of
the site root. [elro]

Laurence


More information about the UI mailing list