[Zope] 2 more questions :-|
Klaus Herrmann
Klaus Herrmann <klaus.herrmann@goelz.com>
23 Feb 2001 18:05:06 CET
Hi!
I have 2 more questions on DTML (sorry, but the reference isn't really
comprehensive)
(1) i want to list the contents of a folder and do more complex sorting than
just sort=id:
<dtml-in "PARENTS[0].objectValues(['DTML Document','Folder'])" sort="id,
meta_type" >
BUT: i want to sort meta_type in reverse order (to have the folders on top),
and the id in "normal" order.
is that possible? how?
(2) i have a dtml-tree, but i don't want to list the contents of the current
folder but of PARENTS[1].
but obviously i can't do anything like
branches_expr="PARENTS[1].objectValues(['Folder', 'DTML Document'])">
how is this done?
thanks in advance!
regards,
Klaus
--
Klaus Herrmann <klaus.herrmann@goelz.com>
Goelz & Schwarz GmbH, Munich
www.goelz.com
phone:+49 - (0)89 - 544 67 0 22
fax: +49 - (0)89 - 544 67 0 10