What is the default extension of view files in cakephp?can we change it?if yes then how?
Answer Posted / 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 |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category