navtree_properties not picked up by navigation portlet in policy product

Wichert Akkerman wichert at wiggy.net
Sat Oct 27 10:12:25 UTC 2007


Previously Sean F wrote:
> Hola list..
> 
> I'm working my way through Martin's new book, building a site policy
> product for a client project, and I've hit a snag.
> 
> One of the requirements are some changes to the default nav portlet
> configuration, which I have set in propertiestool.xml:
> 
>     <?xml version="1.0"?>
>     <object name="portal_properties" meta_type="Plone Properties
> Tool">
>      <object name="navtree_properties" meta_type="Plone Property
> Sheet">
>       <property name="currentFolderOnlyInNavtree" type="boolean">True</
> property>
>       <property name="includeTop" type="boolean">True</property>
>       <property name="topLevel" type="int">0</property>
>       <property name="bottomLevel" type="int">0</property>
>      </object>
>     </object>

the navigation portlet itself stores those settings now, they are no
longer stored in the portal properties.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.




More information about the Product-Developers mailing list