Re: QF with Smarty
| From: | Arnaud Limbourg | Date: | Fri, 14 Nov 2003 11:57:36 +0000 |
| Subject: | Re: QF with Smarty | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8928@lists.php.net to get a copy of this message | ||
Hi,
Have a look at the smarty renderers, in the examples.
Arnaud.
Stephan Wentz wrote:
Hi all! I'm trying now for 2 hours to get this working, am I missing something? The goal is to have 3 Radio Buttons, not in a row but placed each on a different location. <php> $pic1[] = &HTML_QuickForm::createElement('radio', null, null, 'No Pic', 'no'); $pic1[] = &HTML_QuickForm::createElement('radio', null, null, 'Upload Pic', 'upload'); $pic1[] = &HTML_QuickForm::createElement('radio', null, null, 'Use existing', 'use'); $form->addGroup($pic1, 'pic1', 'Picture 1:'); </php> Now if I want to output every RadioButton in a Smarty Template, how can i manage to output every Radiobutton-Element directly, not the whole group? {$form.pic1.html} works of course, but how can i access the radio-element? {$form.pic1.no.html} doesn't work, {$form.pic1.0.html} doesn't work, too. Can someone help me? Stephan