Is it possible in ZendFramework
to set custom template when I call some action ?
For example I call /category/show/id/123
and View
is rendering /category/show.html
file.
I want to be able to render anonther template - /category/showOther.html
.
What should I do ?
Sure. In your ControllerAction do this:
$this->_helper->viewRenderer('showOther');
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With