is this error .. OK ?!

Author Message

Selmah Maxim

Monday 28 November 2005 10:38:57 am

Hi ..

the code :

{attribute_view_gui attribute=$AgentsMenu.data_map.flash b1='My Data' b2='My Ads' b3='My Clients' url1=$UserPage url2='' url3='' }

This to pass the vars to use in flash.tpl, and it work fine, but I get this errors :

Unknown template variable 'b1' in namespace 'ContentAttribute'
.
.
etc..
Unknown template variable 'url3' in namespace 'ContentAttribute'

Also I get this error I get from flash.tpl

Variable 'ContentAttribute:attribute' already exists, cannot define

but the flash works finr also !!

Any idea !?

Ɓukasz Serwatka

Monday 05 December 2005 11:27:51 pm

Selmah, I suspecting that in template related to flash attribute you did not set variable b1, if you passing additional parameters using {attribute_view_gui} you have to define them in template as well.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime1.0727 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.0547152.6094
Module start 'layout' 0.00490.0031 741.664139.4141
Module start 'content' 0.00811.0632 781.0781527.3984
Module end 'content' 1.07130.0014 1,308.47668.1875
Script end 1.0727  1,316.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3019160.0002
Check MTime0.00130.1181160.0001
Mysql Total
Database connection0.00070.065810.0007
Mysqli_queries1.027295.7535540.0190
Looping result0.00060.0559520.0000
Template Total1.042597.220.5213
Template load0.00210.195420.0010
Template processing1.040496.986720.5202
Template load and register function0.00030.023610.0003
states
state_id_array0.00090.088110.0009
state_identifier_array0.00130.117320.0006
Override
Cache load0.00170.1547150.0001
Sytem overhead
Fetch class attribute can translate value0.00130.124120.0007
Fetch class attribute name0.00200.190730.0007
XML
Image XML parsing0.00080.074120.0004
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00100.0913180.0001
String conversion0.00000.000840.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs