EZPT: Displaying contents of template variables
To display the contents of a variable use the ‘attribute’ template operator. This works in a similar fashion to the {debug} operator in Smarty and will dump the contents of the variable to the page.
By default the ‘attribute’ operator will only display the names of the attributes of the array, but sending ’show’ as the first parameter will show the data as well. Sending an integer as the second parameter will display the specified number of child arrays.
example:
{def $my_node=fetch(content, node, hash(node_id, $module_result.path.1.node_id))}
{$my_node|attribute(show, 1)}



November 11th, 2007 at 8:52 pm
This site is truly a great resource thanks for all your hard work
April 6th, 2008 at 5:55 am
perfect site !!!!!!!! Perfect piece of work fellows !!!!!!!