Smarty is complaining about permissions. I’ve written a small mvc framework for a project I’m working on and I need to be able to render templates in each controller. I went ahead and followed the …
Tag: templates
Using PHP as template language
Edit: Great points all around, dedicated templating language is obviously the way to go. Thanks! I wrote up this quick class to do templating via PHP — I was wondering if this is easily exploitable …
How to Debug Variables in Smarty like in PHP var_dump()
I have some variables inside a template and I don’t know where I assigned them. I need to know what is inside a particular variable; for instance, say I have a variable in smarty called member. I …
Lightweight PHP5 based template class/system
Looking at using a template system for a new project, it’s only a small site and don’t want to use the overhead and ‘complexity’ of smarty. I don’t really like template systems that force you to make use of another language just to make it easier for designers (apparently). Something like this http://www.namepros.com/code/517342-php5-template-class.html is what Im looking at but something