Docs on using the contentstructuremenu in a non-admin design

Author Message

Felix Laate

Monday 07 February 2005 2:54:34 am

Hi all!

I want to use the <i>contentstructuremenu</i> in a webshop for browsing through the categorier of products.

But I don't seem to find any helpfull docs on the sbject..

Has anyone done something similar?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Hans Melis

Thursday 10 February 2005 4:15:12 am

I'm wrestling with the same thing. I can get the code working with a few tricks (because I'd like to use it in a module template instead of a pagelayout template). On the other hand, I'm not 100% the code is working correctly because I don't see any unstyled content.

But the stylesheet rules are giving me a headache. There's a stylesheet named treemenu.css but it apparently doesn't have all stylesheet rules because the admin design doesn't even load it.

Some docs would be nice...

Hans
http://blog.hansmelis.be

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 07:00:35
Script start
Timing: Jan 19 2025 07:00:35
Module start 'layout'
Timing: Jan 19 2025 07:00:35
Module start 'content'
Timing: Jan 19 2025 07:00:37
Module end 'content'
Timing: Jan 19 2025 07:00:37
Script end

Main resources:

Total runtime1.7919 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.0059 589.4141152.6563
Module start 'layout' 0.00590.0029 742.070339.5078
Module start 'content' 0.00871.7817 781.5781524.7656
Module end 'content' 1.79040.0015 1,306.34388.0938
Script end 1.7919  1,314.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.1853160.0002
Check MTime0.00140.0795160.0001
Mysql Total
Database connection0.00060.032110.0006
Mysqli_queries1.720396.0037540.0319
Looping result0.00100.0535520.0000
Template Total1.748897.620.8744
Template load0.00180.098420.0009
Template processing1.747097.493520.8735
Template load and register function0.00020.013610.0002
states
state_id_array0.00160.091110.0016
state_identifier_array0.00620.346220.0031
Override
Cache load0.00140.0805140.0001
Sytem overhead
Fetch class attribute can translate value0.00150.082520.0007
Fetch class attribute name0.00430.240940.0011
XML
Image XML parsing0.01580.882720.0079
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.01620.9063210.0008
String conversion0.00000.000640.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs