Forums / Developer / $node.data_map.(...) versus $node.object.data_map.(...) ? / Comment42767
Hans Melis
Friday 08 April 2005 12:43:50 am
2) There is a practical difference depending on some conditions.
- You must be using Exponential 3.5 - TemplateOptimization must be enabled- The variable $node must not be set by a module, but fetched in a template (in other words, a template loaded by a custom module).
In those conditions, $node.object.data_map doesn't work, but $node.data_map does.
http://ez.no/community/bugs/templateoptimization_causes_problems
Hans http://blog.hansmelis.be