namespaces .. value passing .. help!

Author Message

Selmah Maxim

Tuesday 03 June 2003 4:32:21 am

Hi ..

Im meeting problem with passing values in complex namespaces, here is part of it :

{default ShowButton=false()}
{let fetch= ....}
{section ...}
{set $ShowButton=true}
{/section}
{/let}
{section show=$ShowButton}
..
{/section}
{/default}

how can i pass ShowButton ??

i had tried also :
{set $#ShowButton=true}
{set $:ShowButton=true}

Selmah Maxim

Tuesday 03 June 2003 5:03:50 am

Found it .. the problem was that am using name for the main section !

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

Main resources:

Total runtime1.2807 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0130 589.0469152.6250
Module start 'layout' 0.01300.0055 741.671939.4453
Module start 'content' 0.01851.2608 781.1172424.7578
Module end 'content' 1.27920.0014 1,205.87508.1563
Script end 1.2807  1,214.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2635160.0002
Check MTime0.00130.1027160.0001
Mysql Total
Database connection0.00130.101210.0013
Mysqli_queries1.230196.0472520.0237
Looping result0.00050.0363500.0000
Template Total1.226995.820.6135
Template load0.00210.162720.0010
Template processing1.224895.634820.6124
Template load and register function0.00020.015810.0002
states
state_id_array0.00070.057910.0007
state_identifier_array0.00090.066820.0004
Override
Cache load0.00170.1315210.0001
Sytem overhead
Fetch class attribute can translate value0.00120.095310.0012
Fetch class attribute name0.00160.125520.0008
XML
Image XML parsing0.00010.010710.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00720.5633100.0007
String conversion0.00000.000540.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs