Skip to content
Advertisement

Tag: smarty

Smarty: unset an array index in template

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

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 …

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

Advertisement