Forums / Setup & design / Get Node Name using $module_result?

Get Node Name using $module_result?

Author Message

Douglas Johnson

Tuesday 14 October 2003 11:07:21 am

How can I Get Node Name using $module_result? I know how to do it using $node but I can't use $node with viewcaching on. Actually, isn't $node really worthless?!?!?! Since ezpublish is way too slow with viewcaching disabled!

Paul Borgermans

Tuesday 14 October 2003 11:49:16 am

Not so worthless: use $node only in view templates, not the pagelayouts.

Take a look here:
http://ez.no/developer/ez_publish_3/documentation/customization/custom_design/template_variables_set_by_ezpublish

-p

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

eZ debug

Timing: Jan 18 2025 16:12:17
Script start
Timing: Jan 18 2025 16:12:17
Module start 'content'
Timing: Jan 18 2025 16:12:17
Module end 'content'
Timing: Jan 18 2025 16:12:17
Script end

Main resources:

Total runtime0.0191 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.7344180.8281
Module start 'content' 0.00610.0076 768.562593.8828
Module end 'content' 0.01370.0053 862.445370.7031
Script end 0.0190  933.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.8291120.0002
Check MTime0.00105.3807120.0001
Mysql Total
Database connection0.00105.285710.0010
Mysqli_queries0.002412.394240.0006
Looping result0.00000.073820.0000
Template Total0.004825.010.0048
Template load0.00094.478110.0009
Template processing0.003920.512810.0039
Override
Cache load0.00063.166710.0006
General
dbfile0.002010.6040100.0002
String conversion0.00000.036330.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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