Re: how to use path-forms to join a mailing-list or to feed dbs?
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
On 17.8.2005 23:32 Uhr, Silvan Zurbruegg wrote: > Hi > > >># first: >>a small form to let users easily subscribe (and of course >>unsubscribe) to a mailing list (using mailman e.g.) > > > >># second: >>a "medium-size" form to feed a mysql db (and maybe on the same time >>to mail it, too - depends on the situations of use...) > > > For the first case i suggest creating your own > filter class to handle the request. > For the forms definitions: > > <forms:config> > <forms:class name="bx_filters_patforms_myFilter"> > <forms:parameter name="nescessaryParam" value="myValue"/> > </forms:class> > </forms:config> > > In class bx_filters_patforms_myFilter, a submitFields() > method takes care of the submitted values. > (Similar like in the form2mail filter class in > inc/bx/filters/patforms/form2mail.php) As an addition: Just start with the form from the /contact/ folder and try to enhance that. Some docs for patforms are also in http://wiki.bitflux.org/PatForms chregu > > > The same can apply for the second case too. > > > HTH+greetings > silvan > > -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | [email protected] | GPG 0x5CE1DECB -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms