Bard's template operator and variables[solved]

Author Message

ludo thomas

Tuesday 31 January 2006 9:13:24 am

Hi!
I try to use this function:
http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/development/extensions/template_operator

I use addstrings function.
all is working fine if I try

{addstrings('jhg','oiuoiuoiuo')}

but if i need to use realvars? how can I do?
I have tried:

{addstrings('{$var1}','{$var2}')}

and this:

{addstrings('$var1','$var2')}

but nothing work...
thhx foryour tips

Thomas Nunninger

Tuesday 31 January 2006 9:43:43 am

Did you try

{addstrings( $var1, $var2 )}

Thomas

ludo thomas

Tuesday 31 January 2006 10:02:31 am

Thx my friend.
I should be very tired....

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

Main resources:

Total runtime0.0197 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.0081 588.0469152.6406
Module start 'layout' 0.00810.0053 740.687539.4766
Module start 'content' 0.01340.0043 780.164189.4922
Module end 'content' 0.01770.0020 869.656334.3047
Script end 0.0197  903.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002914.9422140.0002
Check MTime0.00126.1852140.0001
Mysql Total
Database connection0.00188.965110.0018
Mysqli_queries0.004623.496030.0015
Looping result0.00000.127010.0000
Template Total0.00157.810.0015
Template load0.00084.145610.0008
Template processing0.00073.627910.0007
Override
Cache load0.00062.881510.0006
General
dbfile0.00021.185580.0000
String conversion0.00000.056940.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