different top menues

Author Message

Negin Javadi

Sunday 27 February 2005 10:11:30 pm

I have setup a site with ezp3.5 in my site I have 2 section (first section &
second section)the folders I want to be shown in this two section
(in the top menu) are completly different and each section has it's own pagelayout.tpl file is there any way to have different top menues for each section?

n_j1981[at]yahoo[dot]com

Łukasz Serwatka

Monday 28 February 2005 11:21:10 pm

{$node.object.section_id} store object section ID. Fetch nodes and if they are assigned to first section, show them in first menu.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Negin Javadi

Tuesday 01 March 2005 3:15:13 am

thank you Lukasz
but could you please help me a little more because I don't know where should I use "{$node.object.section_id}"

n_j1981[at]yahoo[dot]com

Łukasz Serwatka

Tuesday 01 March 2005 3:26:34 am

Hi Negin,

Maybe this example will be useful for you.
http://ez.no/community/forum/general/need_help_with_filtering_out_sections_when_useing_treemenu

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 31 2025 01:14:57
Script start
Timing: Jan 31 2025 01:14:57
Module start 'layout'
Timing: Jan 31 2025 01:14:57
Module start 'content'
Timing: Jan 31 2025 01:14:57
Module end 'content'
Timing: Jan 31 2025 01:14:57
Script end

Main resources:

Total runtime0.0278 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1250151.2109
Module start 'layout' 0.00590.0047 739.3359220.6875
Module start 'content' 0.01070.0157 960.0234997.7734
Module end 'content' 0.02640.0014 1,957.796933.9922
Script end 0.0278  1,991.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00259.1507140.0002
Check MTime0.00103.7218140.0001
Mysql Total
Database connection0.00103.468210.0010
Mysqli_queries0.003010.916130.0010
Looping result0.00000.068610.0000
Template Total0.00093.310.0009
Template load0.00072.552110.0007
Template processing0.00020.719010.0002
Override
Cache load0.00051.675410.0005
General
dbfile0.00238.338380.0003
String conversion0.00000.040340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs