Forums / Setup & design / Folder menu

Folder menu

Author Message

Ivan Švogor

Wednesday 20 October 2010 7:31:36 am

Hello,

I have a folder structure that looks like this:

My Folder
subfolder 1
subsubfolder 1
subsubfolder 2
subsubfolder 3
subfolder 2
subfolder 3

The generated menu from ezPublish looks exacly like this. Now when i click on subsubfolder 1 i get the menu from whole structure. I don't want this. I want my menu to show the maximum level of subfolder 1, and when i click on subfolder 1, then the menu shows the name Subfolder 1 and only the subsubfolders 1, 2 and 3. But also I want that breadcrumbs work. So when I click on the subfolder 1 i get this:

Subfolder 1 <--- the title
subsubfolder 1
subsubfolder 2
subsubfolder 3

I suppose i need to edit some tpl file, can any one help me with this?

Solène Guillot

Thursday 21 October 2010 1:50:42 am

Hey,

Why don't you display the "debug output" with the "list of used templates" to see what template is called ?

Ivan Švogor

Thursday 21 October 2010 4:35:58 am

"

Hey,

Why don't you display the "debug output" with the "list of used templates" to see what template is called ?

"

Hello,

This doesn't help me much, I need a way to not display the parent folder in the sidemenu.

Solène Guillot

Thursday 21 October 2010 5:30:35 am

I think you have to rewrite your template, so I gave you a way to find it. If you find the template, you would see the code wich display the items menu, and I could help you...

Ivan Švogor

Thursday 21 October 2010 6:17:04 am

Solved the problem....

tnx ;-)