How to set layout in the controller?
Answer / Rakesh Kumar Lohani
To set a specific layout in a CakePHP controller, you can use the 'layout' property within your controller class. For example: class MyController extends AppController { public $layout = 'my_layout'; }
| Is This Answer Correct ? | 0 Yes | 0 No |
how to check cakephp version in ubuntu?
Which function is executed before every action in the controller?
List some commonly used cakephp components?
List different type of cache cakephp supports?
What are are drawbacks of cakephp.
What is composer?
What is default function and default controller of cakephp which is called automatically?
What is cakephp used for?
What is a element?
How to fetch data from database in cakephp?
What are components in cakephp.
What is habtm?