Help with custom HTML_QuickForm Renderer
| From: | Karl Timmermann | Date: | Wed, 02 Mar 2005 20:23:15 +0000 |
| Subject: | Help with custom HTML_QuickForm Renderer | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17789@lists.php.net to get a copy of this message | ||
Hi,
I have a php file that is a custom renderer for HTML_QuickForm (it's a new smarty renderer, better then the one that comes with quickform by default.) How do I use it? I dropped the file into the Render folder inside the quickform folder.
However, when I just call:
$renderer = &new HTML_QuickForm_Renderer_SmartyDynamic($tpl);
It doesn't work. How do I get it to recognize the new renderer class? I attached some sample code.
Thanks!
Attachment: [application/x-php] index.php
Attachment: [application/x-php] index.php