R
ragtek
Guest
Is it possible to use a view object for templates created with $template->create('templatename', $params) ???
I've checked the code, but i hadn't seen any way for this
I'm adding a template on an template hook via
BUT i want to send
as first to an view object for some manipulation, because this should get rendered as HTML and json.
I've checked the code, but i hadn't seen any way for this

I'm adding a template on an template hook via
PHP:
$insertTemplate = $template->create('ragtek_sidebar_htmlblock', $params)->render();
$position = $options->ragtek_HSBB_position;
$contents = Ragtek_FW_Sidebar::addBlock($contents, $insertTemplate, $position);
BUT i want to send
PHP:
$insertTemplate = $template->create('ragtek_sidebar_htmlblock', $params)->render();