node_view_gui function in a template

Author Message

Shaun Ellis

Thursday 02 October 2003 2:04:05 pm

Ok, I hope I can articulate this...

I would like to output a list of root folder child objects in the side nav of my site. I'm using the news demo as a tutorial for how to do this. Unfortunately, the demo example just outputs objects of one class (folders) and does not have to use the {node_view_gui} function. I want to output all children regardless of class and need to use this. But here's the problem... my nav links look like this: <a class="nav"> and the rest of my site links look like this: <a class="normal">. Since the output script is in a template (top_menu.tpl), it has no object, node, or class id to Match to for an override of the line view template. How can I implement a unique line view within a template when there are no elements to Match on?

-Shaun

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 01:23:20
Script start
Timing: Jan 19 2025 01:23:20
Module start 'layout'
Timing: Jan 19 2025 01:23:20
Module start 'content'
Timing: Jan 19 2025 01:23:21
Module end 'content'
Timing: Jan 19 2025 01:23:21
Script end

Main resources:

Total runtime1.3242 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.2734152.6406
Module start 'layout' 0.00590.0043 741.914139.4766
Module start 'content' 0.01021.3127 781.3906399.0938
Module end 'content' 1.32290.0012 1,180.48448.1406
Script end 1.3241  1,188.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2402160.0002
Check MTime0.00130.1000160.0001
Mysql Total
Database connection0.00090.067710.0009
Mysqli_queries1.287497.2268460.0280
Looping result0.00050.0369440.0000
Template Total1.291897.620.6459
Template load0.00190.141920.0009
Template processing1.289997.415620.6450
Template load and register function0.00010.011310.0001
states
state_id_array0.00100.073210.0010
state_identifier_array0.00170.124820.0008
Override
Cache load0.00150.114460.0003
Sytem overhead
Fetch class attribute can translate value0.00070.055410.0007
Fetch class attribute name0.00060.046510.0006
XML
Image XML parsing0.00010.008310.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00060.0448100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs