PEAK XOOPS - Extending features of pico by smarty plugins(2) in englishin japanese

Archive | RSS |
XOOPS
XOOPS : Extending features of pico by smarty plugins(2)
Poster : GIJOE on 2007-10-03 05:26:33 (13226 reads)

in englishin japanese

Here is the specs of pico's form processing system.

Plugins processing forms inside pico

formmail
send an email to "adminmail"
formmail4fleamarket
send an email to the creator of the content.
store the query into extra table (admins can refer it in admin area)
survey
no emails will be sent.
just store the query into extra table (admins can refer it in admin area)

Of course, you can change default behaviors by adding parameters.
eg) add a parameter of to="" inside <{command}>

Valid parameters for the plugins processing forms of pico

Any parameters can be missed. Default values are defined in language files.

mail_body_pre
The mail body before query contents for the query mail.
mail_body_post
The mail body after query contents for the query mail.
mail_subject
Subject for the query mail
to
Additional "to" for the query mail. A comma should be used as the separator between mail addresses
from
"from" for the query mail.
from_name
name part of "from" for the query mail
can_post_again
1: blank form will be displayed again after posting the form.
0: Just "Thank you" message will be displayed after posting the form.
confirm_message
Message at confirming
finished_message
Message after sending a query
cc_field_name
fileld's "name" for sending "confiming mail"
cc_mail_subject
Subject for "confirming mail"
cc_mail_body_pre
The mail body before query contents for the confirming mail.
cc_mail_body_post
The mail body after query contents for the confirming mail.


Related articles
Printer friendly page Send this story to a friend

Comments list

gigamaster  Posted on 2007/10/6 0:35
This is very useful to complete documentation and start translate it.

Thanks
Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!