Re: QF2, Smarty, Element date
| From: | Alexey Borzov | Date: | Sat, 25 Feb 2012 06:36:22 +0000 |
| Subject: | Re: QF2, Smarty, Element date | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31430@lists.php.net to get a copy of this message | ||
Hi Olaf,
On 24.02.2012 17:49, Olaf Gleba wrote:
does anyone uses QF2, Smarty Renderer[1] and form field element 'date'? I had a look at the provided doc pages (see [1]) but found no example for that element type. I wonder if this element is currently not supported within this renderer, as i get no output/rendering within the smarty template while there are values if i do 'print_r($form->getValue())'.You should try print_r($renderer->toArray()); first and foremost. 'date' is internally a group of elements, so it is rendered like a group, I am not sure how exactly it will appear in the output, but most probably there will be separate selects.
I sent PM to the renderer contributor but got no response so far. regards Olaf [1] http://www.phcomp.co.uk/TechTutorial/QfSmarty/index.php