From my post on the ez publish forum... I have the feeling I won't get an answer right away, if ever
Hello,
I was wondering if anybody could explain to me how to add a tree like menu to my main template. I kind of get how to just fetch the list of folders and then make a menu out of that, however, I don't quite understand how to make a tree like menu... what I mean by tree-like is the following:
This is the basic structure of my documents
Root Folder
|_ Folder 1
| - Folder 1.1
| - Folder 1.2
|_ Folder 2
| - Folder 2.1
| - Folder 2.2
|_ Folder 3
etc....
Well, when the user is at the home page (Root Folder), I would the menu just to consist of a list of the main folders (Folder 1, 2, 3, etc...)
However, when the user is at Folder 1, I would like the menu to consist of a list of the main folders, and a list of the sub folders added under the main folder Ie something like
Root Folder
Folder 1
* Folder 1.1
* Folder 1.2
Folder 2
Folder 3
etc...
How could I add something like that to the main template?
Bookmarks