[ZPT] Calling NFGnav

Alexey Shishkin alexey@new-ural.ru
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)">