Forums / Developer / Changes in available template variables in v. 3.5?

Changes in available template variables in v. 3.5?

Author Message

Eirik Alfstad Johansen

Monday 17 January 2005 4:46:43 am

Hi,

Having upgraded a couple of sites to 3.5, I've found that I several times have had to modify template code in order for content to appear in 3.5. This seems to be related to changes in which template variables that are available to the templates, or perhaps changes to the template syntax.

For instance, the following template syntax displayed a value in 3.4.0, but no value in 3.5.0.

{attribute_view_gui attribute=$node.object.data_map.$:item}

When I changed it to the following, however, it worked in 3.5.0:

{attribute_view_gui attribute=$node.data_map.$:item}

Could someone from eZ shed some light on this subject?

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Jan Borsodi

Monday 17 January 2005 6:48:28 am

There aren't any changes related to this in 3.5.

What exactly goes wrong, does it crash or do get empty results?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Eirik Alfstad Johansen

Monday 17 January 2005 6:58:59 am

Hi Jan,

I get empty results. Perhaps there's some error in my template syntax, and the template parser has been made less tolerant?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/