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 ;-)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:58:39
Script start
Timing: Jan 18 2025 04:58:39
Module start 'layout'
Timing: Jan 18 2025 04:58:39
Module start 'content'
Timing: Jan 18 2025 04:58:40
Module end 'content'
Timing: Jan 18 2025 04:58:40
Script end

Main resources:

Total runtime0.6412 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.9219152.6094
Module start 'layout' 0.00520.0030 741.531339.4141
Module start 'content' 0.00830.6315 780.9453527.1719
Module end 'content' 0.63970.0015 1,308.117212.2031
Script end 0.6412  1,320.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4956160.0002
Check MTime0.00130.1962160.0001
Mysql Total
Database connection0.00060.100410.0006
Mysqli_queries0.584391.1141630.0093
Looping result0.00060.1007610.0000
Template Total0.605994.520.3030
Template load0.00200.304820.0010
Template processing0.604094.188620.3020
Template load and register function0.00020.033810.0002
states
state_id_array0.00250.390010.0025
state_identifier_array0.00250.383120.0012
Override
Cache load0.00170.2640340.0000
Sytem overhead
Fetch class attribute can translate value0.00100.150620.0005
Fetch class attribute name0.00220.340260.0004
XML
Image XML parsing0.00210.334620.0011
class_abstraction
Instantiating content class attribute0.00000.004170.0000
General
dbfile0.00210.3266160.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs