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.