Forums / Developer / Template Debug / Comment60332

Author Topic

Nicolas Pastorino

Wednesday 21 July 2010 1:53:11 pm

Comment60332

Another useful, undocumented one is :

{debug-log var=$myVar msg='var dumping $myVar'}

It will show in the debug output (which needs to be enabled, see Kévin's post above about this) your template variable, like a var_dump() in PHP, under a section called 'var dumping $myVar'.

Hope this helps !
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