Re: flexy and input

From: Date: Sat, 15 Nov 2003 02:53:57 +0000
Subject: Re: flexy and input
References: 1  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-8959@lists.php.net to get a copy of this message
This was one of the major changes in the 0.5 series, the http://pear.php.net/manual/en/package.html.html-template-flexy.intro.php describes a bit how it works. The previous method proved a bit too problematic, as it didnt cope with elements with [] or '.' in the name. Regards Alan Fabrizio Balliano wrote:
hi to all, I got a problem with flexy template and inputs, my template contains this code: <form name="theform"> <input name="theinput" type="hidden" /> </form> the compiled template is: <?php echo $this->elements['theform']->toHtmlnoClose();?> <?php echo $this->elements['theinput']->toHtml();?> </form> but should it be so? I think it should be something like <?php echo $t->theform->toHtmlnoClose();?> <?php echo $t->theform->theinput->toHtml();?> </form> Thanks to all for your help. Regards
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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