25 Feb
1999
25 Feb
'99
12:36 a.m.
Martijn Pieters wrote:
Step 2: Create a DTML method named SideBar in your root folder with the following code:
<!--#tree branches=getFoldersOnly--> <A HREF="<!--#var BASE1-->/<!--#var tree-item-url-->"><!--#var id--></A> <!--#/tree-->
You can skip the External Method if you use the branches_expr tag, instead of the branches tag, like so: <!--#tree branches_expr="objectValues(['Folder'])"--> <A HREF="<!--#var BASE1-->/<!--#var tree-item-url-->"><!--#var id--></A> <!--#/tree-->
Is there a performance difference between these two approaches? If not, I think I would prefer to factor out the method, as it might come in handy somewhere else. Michael Bernstein