Author Topic

Michael Maclean

Friday 02 November 2007 3:09:15 am

Comment48734

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