[Zope] Recursive method
Roché Compaan
sparroy@adept.co.za
Sat, 21 Aug 1999 01:08:06 +0200
I want to use a recursive method do draw the navigation tree for my site. I
do not want to use the tree tag to iterate through the subfolders because
the question-mark in the tree-query might obscure pages of the site to
search engines. How can one call a method from within a method passing
variables to that method? How does one define a method which accepts
certain parameters eg.
if someone can translate this in to dtml for me this would be a great help:
recursive-dmtl-method(variable folder)
in folder
if document then
makeHREF to document
if folder.hassubfolders then
recursive-dtml-method(folder)
--------------------------------------
This would be of great help.
Roché