Global variable in a template

Global variable in a template

Thursday 28 January 2010 5:59:38 pm - 1 reply

Author Message

Damien MARTIN

Friday 29 January 2010 2:02:49 am

You should use the set template operator to modify an existing variable (def works too, but is not logical as far your variable has been already declared) :

{set $value = "your value"}

Documentation page : http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_functions/variables/set

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.