Afficher un message
Vieux 10/02/2006, 13h28   #3
Alain Williams
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] Re: Forms processing with Smarty

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 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>
  Réponse avec citation
 
Page generated in 0,05999 seconds with 9 queries