Treemenu extension 1.0 help needed

Author Message

Niklas Gunnäs

Tuesday 13 January 2004 6:32:10 am

I would like to use treemenu2.tpl on my site. But I have a problem how to setup the menusystem. The site is split up in sections that should have its own treemenu. Like this..

- section1 -

Cultur (home)
- painting
- artist1
- artist2
- photo

- Section 2 -

Development (home)
- Bughunting
- Area1
- Area2
- Dokumentation

Björn Dieding@xrow.de

Tuesday 13 January 2004 2:45:58 pm

hi i did the treemenu1

I think both treemenus can't handle eZ sections, but I think you mean just 2 different offsets.

what you need to do is this:
include the treemnu 2 times
give the template a parameter (home)

{include uri="extension/treemenu/design/standard/templates/treemenu2.tpl" home=45}
{include uri="extension/treemenu/design/standard/templates/treemenu2.tpl" home=46}

then replace the value of home inside the treemnu script with the param

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Niklas Gunnäs

Wednesday 14 January 2004 1:54:50 am

Thank you for your answer Bjorn.

Sorry for asking again. I not a programmer so what should a change in whith file :-)

I have diffrent pagelayout for each section so changing home in each pagelayout should work perfectly.
I think ;-)

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

Main resources:

Total runtime0.0186 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.2578152.6250
Module start 'layout' 0.00690.0039 741.882839.4453
Module start 'content' 0.01080.0059 781.328189.3359
Module end 'content' 0.01660.0020 870.664134.3047
Script end 0.0186  904.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002614.1719140.0002
Check MTime0.00126.4441140.0001
Mysql Total
Database connection0.00105.389310.0010
Mysqli_queries0.003619.278630.0012
Looping result0.00000.124010.0000
Template Total0.00168.410.0016
Template load0.00084.370210.0008
Template processing0.00074.010910.0007
Override
Cache load0.00063.163210.0006
General
dbfile0.00031.379680.0000
String conversion0.00000.048640.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