CakePHP TwigView Plugin Missing View Error

前端 未结 1 1881
一向
一向 2021-01-16 16:12

I am using CakePHP 2.4.2 and this plugin by predominant.

I want to use TwigView with CakePHP and found that the plugin above is compatible with CakePHP 2.0. Followed

相关标签:
1条回答
  • 2021-01-16 17:07

    http://api.cakephp.org/2.4/source-class-Controller.html#209-214

    Set the Controller::$ext property in your app controller to "tpl" and your're done.

    Searching before asking is also always a good idea, see CakePHP View change extension

    0 讨论(0)
提交回复
热议问题