Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to change layout for module level in zend framework 2?



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

Post New Answer

More Zend Interview Questions

When do we need to disable layout?

1 Answers  


What are the features of mvc in zend framework?

1 Answers  


Features of mvc in zend framework?

1 Answers  


How to get all get data?

1 Answers  


Who developed the zend framework?

1 Answers  


What is zend framework 2?

1 Answers  


What is the use of bootstrap?

1 Answers  


Is there a way to make fpdf/fpdi or zend_pdf support the parsing of pdfs greater than 1.4?

1 Answers  


Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode?

1 Answers  


Do you know what is the function lucene?

1 Answers  


What is front controller in zend framework?

1 Answers  


Which class extend the zend model? Zend_db_table_abstract

1 Answers  


Categories