in zf3
, trying include other .phtml
file, except default one.
public function indexaction() { return new viewmodel(); }
as in below code zend-framework
search , include index.phtml
default, need add details.phtml
. how can this.
thanks.
you can try below code.
public function indexaction() { //suppose in application module $this->layout()->settemplate('application\index\details'); return new viewmodel(); }
Comments
Post a Comment