Editing the Left Menu

Author Message

Stuart DH

Friday 16 July 2004 8:42:46 am

I'm using the 'News' demo site to produce a newspaper and need to make a change to the left menu. I want the menu to show the folders and subfolders, which is what it is currently doing, however, I don't want it to show the articles, polls etc that are listed in each if the folders...which also what it is currently doing.

Could someone tell me which template/stylesheet I need to edit to prevent them from showing. I'm assuming that I need to create an override of the flat-left.tpl from the design > base > menu, but I'm not too sure what I should be editing inside the template...or even if it is the right template to edit..

Thanks in advance

Stuart

http://www.wildaboutbritain.co.uk

Jack Rackham

Saturday 14 August 2004 12:57:06 am

You must exclude the class types you do not want to show.
Edit /node/view/full.tpl full_folder
See: http://www.ez.no/community/forum/developer/problem_with_showing_the_content_of_folders_in_3_4_1

You can use my template just replace the class numbers or class names you want to exclude. X is where you enter the class number.
class_filter_type, 'exclude',
class_filter_array, array( 'x', 'x', 'x', 'x', 'x' ) ))
list_count=fetch('content','list_count',hash(parent_node_id,$node.node_id,
class_filter_type, 'exclude',
class_filter_array, array( 'x', 'x', 'x', 'x', 'x' )))}

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 19:17:44
Script start
Timing: Jan 18 2025 19:17:44
Module start 'layout'
Timing: Jan 18 2025 19:17:44
Module start 'content'
Timing: Jan 18 2025 19:17:45
Module end 'content'
Timing: Jan 18 2025 19:17:45
Script end

Main resources:

Total runtime0.7390 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.9063152.6250
Module start 'layout' 0.00620.0033 740.531339.4453
Module start 'content' 0.00950.7280 779.9766522.0156
Module end 'content' 0.73750.0014 1,301.99228.1719
Script end 0.7389  1,310.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.5795160.0003
Check MTime0.00150.2019160.0001
Mysql Total
Database connection0.00130.179310.0013
Mysqli_queries0.693493.8344540.0128
Looping result0.00050.0660520.0000
Template Total0.705895.520.3529
Template load0.00300.403120.0015
Template processing0.702895.103520.3514
Template load and register function0.00020.022610.0002
states
state_id_array0.00130.178810.0013
state_identifier_array0.00110.149620.0006
Override
Cache load0.00260.3576180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.100020.0004
Fetch class attribute name0.00180.243630.0006
XML
Image XML parsing0.00060.082420.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00090.1221160.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs