New features have been added to TwigView just recently. New filters, Better readme, Access to view object and experimental CakePHP 2.0-dev support.
Twig Templates in CakePHP (cont.)
Using Twig with CakePHP
Having fun with Twig right now. Here’s a draft View implementation with i18n support. Just a gist, but works very well for me.
For those who don’t know what Twig is:
- Twig is a template language.
- http://www.twig-project.org Read More
QuickTip: Did you know? image() can has url!
How to save you alot of code on image links while still being able to use the full power of the cakephp router.
QuickTip: How to overwrite HtmlHelper tags
In some cases you find it desirable to overwrite the tag templates used by the HtmlHelper. For example if you put all your assets onto a CDN and don’t want to put the hostname in front of all paths (messy..).