Forums / Developer / embedding a toc template / Comment57412
Nicolas Pastorino
Tuesday 02 March 2010 1:18:19 am
Hi Paul,
Although i would instinctively had gone for your second solution, i investigated a bit on the first issue you raised. It appears that in the embed templates, the only variable always present is $object, representing the embedded content object. Additionally, you may have a $object_parameters variable, containing various attributes (editable in the small popup appearing when embedding an object).
About the $#node notation, altough indeed not used often, it is fine, and i do use it often.
Cheers !
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye