How do you (assuming you can) control the ordering of a tree? For example, in the QuickStart, lets say that I wanted to move Database Integration below Application Development. Can I do that? If so, how? Thanks for any help.
Art Hampton wrote:
How do you (assuming you can) control the ordering of a tree?
For example, in the QuickStart, lets say that I wanted to move Database Integration below Application Development.
Can I do that? If so, how?
Thanks for any help.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi, here is my solution: create an order(int type) property for every folder, then add sort=order to dtml-tree tag. Arpad
Art Hampton wrote:
How do you (assuming you can) control the ordering of a tree?
Can I do that? If so, how?
Assign each object an integer property called order. Then do <dtml-tree branch_expr="foo" sort="order"> -- Ethan "mindlace" Fremen you cannot abdicate responsibility for your ideology.
participants (3)
-
Arpad Kiss -
Art Hampton -
Ethan Fremen