Re: how to use path-forms to join a mailing-list or to feed dbs?
Silvan Zurbruegg <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | bitflux.ch |
| Message-ID | <[email protected]> |
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)
The same can apply for the second case too.
HTH+greetings
silvan
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms