Re: QuickForm_Renderer_Tableless - template help
| From: | Mark Wiesemann | Date: | Tue, 21 Nov 2006 09:27:51 +0000 |
| Subject: | Re: QuickForm_Renderer_Tableless - template help | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25891@lists.php.net to get a copy of this message | ||
Chuck Reynolds wrote:
> I don't understand how to rebuild the template so I don't have ordered lists
> for each fieldset when using HTML_QuickForm_Renderer_Tableless.
You would need to remove all <ol> and <li> (and the according closing
tags) from all templates that have them. To do this, look at the source
code and call the corresponding $renderer->set...Template() methods with
the altered templates.
Please note that you maybe also need to add <br /> tags at the end of
the elements template to get the right line breaks. And you need to
alter the stylesheet, of course.
A look at an older stylesheet from one of the previous releases (which
hadn't had the ordered lists) might help you.
Regards,
Mark