What is the default extension of view files in cakephp?can we change it?if yes then how?
Answer / Umesh Kumar Morya
The default extension for view files in CakePHP is .ctp (Controller Template Pages). If you want to change it, you can modify the $viewClass property in your AppController.php. For example, setting it to 'View' instead of 'CakePHPViewAppView' will use a custom view class with a different extension.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the name of cakephp database configuration file name and its location?
What are the server requirements for installing cakephp?
In cakephp, which function is first executed before every action in the controller?
What are components in cakephp.
List some of the features in cakephp?
List some database related query function used in cakephp.
What is default function and default controller of cakephp which is called automatically?
What is wrong with the below validation rule?
What is recursive in cakephp?
What are components in cakephp. List some commonly used cakephp components?
What is the naming convention in cakephp?
What is composer?