[Zope] How do you find contents of the parent?

Andy McKay andym@ActiveState.com
Tue, 13 Feb 2001 14:20:20 -0800


you can move up a folder by

<dtml-with aq_parent>
  stuff
</dtml-with>

you might also want to look at PARENTS which is a list of your the objects
that make up your current heirarchy:

<dtml-in PARENTS>
  <dtml-var "_['sequence-item'].absolute_url()">
</dtml-in>

--
  Andy McKay.


----- Original Message -----
From: <complaw@hal-pc.org>
To: <zope@zope.org>
Sent: Tuesday, February 13, 2001 2:07 PM
Subject: [Zope] How do you find contents of the parent?


> I'm trying to set up a navigation panel at the left of my web pages in
Zope.  I
> don't have any trouble getting the content of the current level.  However,
it
> would be more helpful if I got the content (folders, in particular) of the
> _parent_ folder.  Is there a way to do that?
>
> Thanks in advance,
>
> Ron
> ./.
>
>
> _______________________________________________
> 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 )
>