| Saturday 13 December 2003 6:34:21 am 
                                                                 Hi Sathizh, have a look at http://ez.no/developer/ez_publish_3/documentation/development/libraries/ez_template/basics/namespaces_ But using Namespaces give you more troubles than not using them. (I've wasted a lot of hours to find that out.) The main problem of the Namespace-Feature: You can't set global variables in a nested namespace. Expample: 
{let name=myglobalnamespacefirst=true()
 }
 {section name=mysection loop=7}
 {section name=mysubsection show=$myglobalnamespace:first}
 {set first=false()}
 {/section}
 {/section}
 {/let}
 -> Setting $first to "false" won't work, because the parser looks for the variable "$myglobalnamespace:mysection:mysubsection:first" which doesn't exist. And - a main lack of ez - you can't using the set-function with Namespaces. {set myglobalnamespace:first=false()} produces an error. So, only use Namespaces, if you don't want to set variables in a Subnamespace. 
Kind regards,Emil.
 Best wishes,Georg.
 
 --
 http://www.schicksal.com Horoskop website which uses eZ Publish since 2004
 |