Forums / Developer / Attribute_view_gui in a php file / Comment48734
Michael Maclean
Friday 02 November 2007 3:09:15 am
You should then just be able to add another parameter to the template engine:
$tpl->setVariable( 'attribute', $contentObjectAttribute );$tpl->setVariable( 'view', 'link' );
Just before the call to $tpl->fetch();.
eZpedia community documentation project | http://ezpedia.org