Re: Help with custom HTML_QuickForm Renderer

From: Date: Wed, 02 Mar 2005 21:33:56 +0000
Subject: Re: Help with custom HTML_QuickForm Renderer
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17790@lists.php.net to get a copy of this message
On Wed, 2 Mar 2005 13:23:15 -0700, Karl Timmermann <timmerk@comcast.net> wrote: > 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.) Care to post the code or submit it to the QF maintainers to see if they'd like to include it in QuickForm? :-) > How do I use it? I dropped the file into the Render folder > inside the quickform folder. > > However, when I just call: > You need to require it first: require_once('HTML/QuickForm/Renderer/SmartyDynamic.php'); > $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. > -- Justin Patrin

« previous php.pear.general (#17790) next »