On 21.10.2008 16:27 Uhr, Nico Grubert wrote:
I use Zope 2.10.5 and I want to create a site tree using the ZCatalog
instead of iterating recursive trough the entire object tree.
I have the following site structure (all things are folders):
My ZCatalog contains these entries:
What I need is a list of these entries ordered according to the site
structure. I would like to get this list:
My Zcatalog is configured as follows:
The index 'position' contains the a folder's position in it's parent folder.
In my example the folder "phonebook" contains "3" for position because
it is in the 3rd position inside it's parent folder ("about").
Is it possible to build an ordered site tree with the ZCatalog only and
if so, any ideas how I can do that?
Look at the ExtendedPathIndex implementation of Plone (can be used
org:ZOPYX Ltd. & Co. KG
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -