Golbal varibale

Author Message

chandan kumar

Monday 20 March 2006 9:17:58 pm

hi
i have use a two .tpl file,in one tpl file i have gererate a node id ,And that node having sub item
which have shown in the right menu.So i have to use a global variable in the .tpl file.whcih can access both file at the same time.

please help me !

thanks

Betsy Gamrat

Tuesday 21 March 2006 6:10:24 am

You could use $view_parameters.

Resources:

http://ez.no/doc/ez_publish/technical_manual/3_6/templates/the_pagelayout/variables_in_pagelayout

http://ez.no/doc/ez_publish/technical_manual/3_6/reference/template_operators/data_and_information_extraction/module_params

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

Main resources:

Total runtime0.0234 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.0085 587.7891152.6094
Module start 'layout' 0.00850.0064 740.398439.4141
Module start 'content' 0.01490.0063 779.812589.2891
Module end 'content' 0.02130.0021 869.101630.3047
Script end 0.0234  899.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002410.1218140.0002
Check MTime0.00114.5459140.0001
Mysql Total
Database connection0.00104.269010.0010
Mysqli_queries0.006828.818330.0023
Looping result0.00000.089610.0000
Template Total0.00167.010.0016
Template load0.00083.509710.0008
Template processing0.00083.433310.0008
Override
Cache load0.00062.348310.0006
General
dbfile0.00031.108580.0000
String conversion0.00000.086540.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