Re: [SMARTY] Re: Forms processing with Smarty
Alain Williams <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Organization | Parliament Hill Computers Ltd |
| Message-ID | <[email protected]> |
On Fri, Feb 10, 2006 at 11:11:06AM -0200, Manuel Lemos wrote: > Hello, > > on 02/10/2006 10:51 AM Davi Leal said the following: > > Hi all, > > > > I have developed a custom template 'engine' to our website. Now, I want to > > migrate to the Smarty engine. I have read some documentation at your > > website, however I do not yet know how could I deal with forms processing > > with smarty. Below you can see an example. > > > > Using my custom template, I have to phases: > > > > First: Process all forms > > > > Second & Last: Displaying the output result > > > > > > Could you point me in the right way to convert the below example to > Smarty?. > > Any advice?. Maybe an URI to read?. > > You may want to take a look at this forms generation and validation > class. It comes with a Smarty plug-in so you can define your form > templates with Smarty. > > http://www.phpclasses.org/formsgeneration I now use quickform to help generate/validate forms. It works well and works with smarty. I have a quick demo page: http://www.phcomp.co.uk/TechTutorial/QfSmarty/index.php -- Alain Williams Parliament Hill Computers Ltd. Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ #include <std_disclaimer.h> -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php