Top "Zend-view" questions

provides the “View” layer of Zend Framework 2’s MVC system.

How to Access Application Config from View in Zend Framework 2 (zf2)?

I wanted to access the application config from a view. How can I achieve that in ZF 2?

zend-framework2 zend-view
ZF2 - How to change the error/404 response page? Not just template but to set a new ViewModel

By default the page is set like this in the Application module.config array: 'template_map' => array( 'error/404' =&…

php zend-framework2 http-status-code-404 zend-view zend-framework-mvc
How to use a partial view from a different module in Zend?

I'm trying to access a partial view in foo from another module bar. Simplified file structure: application/ modules/ foo/ index.…

zend-framework zend-view
Zend Framework - Set No Layout for Controller

I have a Controller that I want to use for ajax scripts to call and set session variables, get information, …

php zend-framework zend-view zend-controller zend-layout
Getting View Object from within a Zend Controller plugin

In my controller, I have a postDispatch to consolidate my FlashMessenger messages: public function postDispatch() { $messages = $this->_helper->…

zend-framework plugins zend-view front-controller
Zend Framework 2 - How to include partial from library

I wrote a partial which I want to use in several modules. I thought the best way would be to …

php partial-views zend-framework2 zend-view view-helpers
In ZF2 how to make view functions to run in controller

I wanted the functionalities of view files to run in controller file also. For example, I wanted $this->escapeHtml() …

php zend-framework2 zend-view zend-controller
How to add custom view helpers to Zend Framework 2

I have earlier asked this question, and I got good answers there. However, that was for beta4, and no longer …

php zend-framework zend-view zend-framework2
How do I extend the Zend Navigation Menu View Helper?

I need to change the output of Zend_View_Helper_Navigation_Menu. I've found the two functions that I'll need …

php zend-framework zend-view zend-navigation
Set custom template path to render instead of standard one

Is it possible in ZendFramework to set custom template when I call some action ? For example I call /category/show/…

zend-framework zend-view