[ZPT] Calling NFGnav
Felix Hermann Hoßfeld
enemybuster@hotmail.com
Tue, 04 Dec 2001 09:25:21 +0100
Hi!
Thanks for your help. Actually my solution works too. The problem was that I
had reversed the PARENTS-list. (See my other post.)
bye
Felix
>From: Alexey Shishkin <alexey@new-ural.ru>
>To: ZPT@zope.org
>Subject: [ZPT] Calling NFGnav
>Date: Sun, 2 Dec 2001 13:49:39 +0500
>
>
>Hello, Felix!
>
>Friday, November 30, 2001, 6:22:26 AM, you wrote:
>
>FHH> My next try was to call it directly from the template like this:
>
>FHH> <span tal:replace="structure
>FHH> python:root.NFGnavCore.TreeMenu(request.PARENTS, request,
>FHH> here.id,initlevel=1,Meta_Types=['Folder','DTML Document'])">
>
> Hmm, following code works for me and shows really tree from root:
>
> <span tal:replace="structure
> python:here.navigation.TreeMenu(request.PARENTS, request.REQUEST,
> template.id, initlevel=1, Meta_Types=['Folder','Page Template'],
> maxlevel=3)">
>
>
>
>_______________________________________________
>ZPT mailing list
>ZPT@zope.org
>http://lists.zope.org/mailman/listinfo/zpt
_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp