How to change layout for module level in zend framework 2?
Answer / Ravi Sharma
To change the layout for a specific module in Zend Framework 2, you can follow these steps:
1. Create or modify the module's layout file (e.g., module/Application/view/layout/layout.phtml).
2. In the Module's getServiceConfig() method, set the layout for your module by specifying the layout file path in the view_manager configuration under the 'module_listener_options' array.
| Is This Answer Correct ? | 0 Yes | 0 No |
When do we need to disable layout?
What are the features of mvc in zend framework?
Features of mvc in zend framework?
How to get all get data?
Who developed the zend framework?
What is zend framework 2?
What is the use of bootstrap?
Is there a way to make fpdf/fpdi or zend_pdf support the parsing of pdfs greater than 1.4?
Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode?
Do you know what is the function lucene?
What is front controller in zend framework?
Which class extend the zend model? Zend_db_table_abstract