Closed STAR-ZERO closed 11 years ago
For some reason, the element method in TwigView.php has a condition to change the extension to .ctp in some scenarios. I comment that out without any issues.
Thanks for that comment. I've removed the weird element rendering hack. Thats produced good results for me, let me know what you think.
If you use a custom element in session.flash "Element Not Found: Elements/xxxx.ctp" occurs. I want to use the tpl extension, "Elements/xxxx.tpl".
Controller:
View:
I use CakePHP 2.3.x