Forums / Developer / Template language changes ?
jf poux
Thursday 27 November 2003 10:21:45 am
I have noticed (or missunderstood something perhaps :) ) differences in the template language between the version 3.2.3 and 3.3.0 beta. By example, I used : {section name=something...} in version 3.2.3, and in version 3.3.0 it seems to be {section var=samething...}. Are there any other differences in the template language ?Thanks
Jo Henrik Endrerud
Tuesday 02 December 2003 6:57:05 am
The changes is done to avoid problems with namespaces. All old template code is still valid so this is backward compatible. When using var=name you can access variables with $name.item instead of $namespace:item . This isn't a big deal in small examples, but if you have nested sections and so on this makes it a lot easier.
Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no