I would like to do {unset($array[‘index’])} into a Smarty 3 template. Is such a syntax (or similar) supported ? After Googling and doc reading I can’t find something satisfying. Maybe I should ask for a feature request to Smarty dev team ? 🙂 Anyway, how would you do this given the currently available template functions ? Answer I don’t think
Tag: smarty
Smarty permissions problems
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 …
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 …
PHP – lookup array contents with dot syntax [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question Does anybody see anything wrong with the following function? (Edit: no, I don’t think anything is wrong, I am just double-checking since this will be