Difference between $node.node_id and $module_result.node_id

Author Message

Anthony M.

Wednesday 14 November 2007 12:20:32 am

Hi,

i would like to know what's the difference between '$node.node_id' and '$module_result.node_id' ?

Thanks a lot

Anthony

Heath

Wednesday 14 November 2007 3:23:23 am

The variable $node is not available within the pagelayout.tpl file and the $module_result.node_id variable is available within the for mentioned template file.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 21 2025 02:52:27
Script start
Timing: Jan 21 2025 02:52:27
Module start 'layout'
Timing: Jan 21 2025 02:52:27
Module start 'content'
Timing: Jan 21 2025 02:52:28
Module end 'content'
Timing: Jan 21 2025 02:52:28
Script end

Main resources:

Total runtime1.0315 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.0055 588.1719151.2422
Module start 'layout' 0.00550.0026 739.414136.7109
Module start 'content' 0.00811.0223 776.1250544.0078
Module end 'content' 1.03030.0011 1,320.13287.9375
Script end 1.0314  1,328.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3430160.0002
Check MTime0.00150.1468160.0001
Mysql Total
Database connection0.00100.098510.0010
Mysqli_queries0.989795.9475540.0183
Looping result0.00050.0487520.0000
Template Total1.002397.220.5011
Template load0.00300.291120.0015
Template processing0.999296.876120.4996
Template load and register function0.00020.021310.0002
states
state_id_array0.00110.103310.0011
state_identifier_array0.00090.086720.0004
Override
Cache load0.00250.2435110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.054120.0003
Fetch class attribute name0.00170.167430.0006
XML
Image XML parsing0.00070.063420.0003
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00100.0936170.0001
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/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
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs