persistence variables problem

Author Message

Aladdin Mouhaimeed

Tuesday 23 August 2005 11:28:14 am

Hi:
i have tried alot with persistence variable,but it doesnot work,nor with another people,
i need a global variable in my site,can i create one? and how?
thanks

Marin Orlic

Tuesday 23 August 2005 2:21:00 pm

I probably need the same thing.. is this similar to what you want to do?

http://ez.no/community/forum/setup_design/set_variables_across_templates

Aladdin Mouhaimeed

Wednesday 24 August 2005 1:14:30 am

yes, that is what I want,
Marin, now I'm trying to use sesssion variable ( although I hate them),
if it works, I'll tell you the results.

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

Main resources:

Total runtime0.0120 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.0044 588.1328151.2109
Module start 'layout' 0.00440.0022 739.343836.6484
Module start 'content' 0.00660.0042 775.992290.0313
Module end 'content' 0.01080.0012 866.023429.9922
Script end 0.0120  896.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002117.1916140.0001
Check MTime0.00108.6414140.0001
Mysql Total
Database connection0.00086.521210.0008
Mysqli_queries0.002117.560530.0007
Looping result0.00000.075410.0000
Template Total0.00107.910.0010
Template load0.00075.948010.0007
Template processing0.00021.929810.0002
Override
Cache load0.00054.309810.0005
General
dbfile0.00119.000480.0001
String conversion0.00000.059540.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