[Zope] Another little question

Oscar Picasso picasso@videotron.ca
Wed, 10 Nov 1999 17:38:28 -0500


Don't know if there are specific variable or method.
But try this:

<dtml-var "_.len(PARENTS)-1">

Not tested but I think it should work.


>Does a variable exist which says in what level of folders i am in?
>This variable should return '0' when i am at the root, and for
>instance 5 when i am at /Company/Factsheet/Proposal/2000/January/
>
>Or is there a method with which i can get this value?


******************************************************
Oscar Picasso
picasso@videotron.ca
******************************************************