Hello,
if I put some html into the view object before render, I don't see it in the final render any more, Why?
tpl1.volt
<div class="container-debug">
<strong>{{ id }}</strong><br>
{{ content() }}
</div>
ContentModel.php
class ContentModel extends Model {
public function processContainer($idNavi)
{
$view = $this->getDI()->getView();
// some code
$view->setContent($html);
$view->start();
$view->render('mytpl', 'tpl1');
$view->finish();
$return_html = $view->getContent();
return $return_html;
}
}