Hi all, after I change a template:
$vm = new \Zend\View\Model\ViewModel(); $vm->setTemplate('layout/promo'); $e->setViewModel($vm); //$e ->mvc event I can't load index.phtml templates into it by using $this->content.What should I do for that? -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/ZF2-changed-template-scope-problem-tp4658841.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com