|
From: "Andras Kende" on 16 Jul 2007 02:07 Hello, I changed my quickform templates from static {{$form.phone.label}} to dynamic. This works great as it saves time while making forms... TPL: <form {{$form.attributes}}> {{foreach from=$form.elements item=element}} label : {{$element.label}} html: {{$element.html}}<br> {{/foreach}} </form> But before I used HTML/QuickForm/Renderer/ArraySmarty.php $renderer =& new HTML_QuickForm_Renderer_ArraySmarty($smarty); But with this dynamic I was able only do it with HTML/QuickForm/Renderer/Array.php $renderer =& new HTML_QuickForm_Renderer_Array(true, true); Can you confirm if this is the expected if dynamic forms are used ? Thank you, Andras Kende http://www.kende.com
|
Pages: 1 Prev: Smarty and E_STRICT environment Next: Feature req/idea: storing variables in cached templates |