Ticket #5265 (closed Bug: fixed)

Opened 8 years ago

Last modified 8 years ago

Improve navtree support for configuration options

Reported by: limi Owned by:
Priority: major Milestone: 2.1.3
Component: Navigation/Folder listings Version:
Keywords: Cc:

Description

There are a lot of properties left over from 2.0 that don't yet work in 2.1 because of the new implementation - a lot of these could quite easily be enabled with some simple changes. I don't want ugly patch solutions like Sprout to become the de-facto way of changing the navtree behaviour in Plone. Joel volunteered to write the code to support the 2.0 options in 2.1 back in the day, but nothing has happened yet. (Have I offended enough people by now? This is an embarrassment-driven development framework, after all ;)

Change History

comment:1 Changed 8 years ago by optilude

I've added the 'root' and 'name' properties from Sprout, made 'topLevel' and 'bottomLevel' work, borrowed the configlet from Sprout and made the navtree creation code more generally re-usable and performant (I hope) :-)

See CMFPlone.browser.navtree.

comment:2 Changed 8 years ago by optilude

  • Status changed from new to closed
  • Resolution set to fixed

(In [9241]) Normalising the mess in navtree_properties, enabling support for some properties that lost their meaning in 2.1, and folding in additional features from Sprout including its control panel; factoring navtree creation into its own method that's TTW-importable. Fixes #5265.

Note: See TracTickets for help on using tickets.