Лучший Ответ SmetDenis , 06 October 2014 - 06:53
Для этого нужно создать собственный рендерер материалов.
$template = $this->app->zoo->getApplication()->getTemplate();
$renderer = $this->app->renderer->create('item')
->addPath(array(
$this->app->path->path('component.site:'),
$template->getPath()
));
echo $renderer->render('item.<ТИП>.<ИМЯ ШАБЛОНА>', compact('item', 'params'))
В шаблоне у вас будет лишь 1 позиция.
Перейти к сообщению


Тема закрыта








