[pmwiki-users] Re: Prefill info into cookbook/mailform.php
David Sovinski
aslan at aslandata.com
Sat Aug 6 13:12:43 CDT 2005
I found "Mailform2" to do this. There was no link to it on the Cookbook
page so I added one.
However when I added Mailform2 to my site which uses
"pmwiki-2.0.beta48" I have a problem:
PROBLEM: When I try to "Edit Page" on any page I get a set of errors as
shown below my config file.
(In the cookbook I added mailform2.php and input.php)
with the following from my config file:
<SNIP>
## Add per-group subdirectories
$WikiDir = new PageStore('wiki.d/$Group/$FullName');
# TSM = Tactics, Stategy, & Message
$GroupPattern - '(?:PmWiki|Main|Guestbook|Donate|OGG|TSM|Tech)';
include_once('cookbook/guestbook.php');
include_once('cookbook/mailform2.php');
include_once('cookbook/comments.php');
# Mailform2 required variables
$Mailform2Recipient = 'web at mysite.com';
$Mailform2Sender = 'receive at gopher.org';
$Mailform2Subject = 'Volunteer Information';
$Mailform2Text = 'Volunteer Name';
$Mailform2SuccessPage = 'Main.MailSentSuccessfully';
$Mailform2FailurePage = 'Main.MailSendFailure';
$Mailform2Disabled = $Mailform2Subject == '' && $Mailform2Text == '';
</SNIP>
/*[PmWiki Warning: There should have been an (:input start...:) before
this (:input...:) markup.]*/ /*[PmWiki Warning: 'e_form' unknown in
(:input e_form ...:).]*/
/*[PmWiki Warning: There should have been an (:input start...:) before
this (:input...:) markup.]*/ /*[PmWiki Warning: 'e_textarea' unknown in
(:input e_textarea ...:).]*/
Summary: /*[PmWiki Warning: There should have been an (:input start...:)
before this (:input...:) markup.]*/ /*[PmWiki Warning: 'e_changesummary'
unknown in (:input e_changesummary ...:).]*/
Author: /*[PmWiki Warning: There should have been an (:input start...:)
before this (:input...:) markup.]*/ /*[PmWiki Warning: 'e_author'
unknown in (:input e_author ...:).]*/ /*[PmWiki Warning: There should
have been an (:input start...:) before this (:input...:) markup.]*/
/*[PmWiki Warning: 'e_minorcheckbox' unknown in (:input e_minorcheckbox
...:).]*/ This is a minor edit
/*[PmWiki Warning: There should have been an (:input start...:) before
this (:input...:) markup.]*/ /*[PmWiki Warning: 'e_savebutton' unknown
in (:input e_savebutton ...:).]*/ /*[PmWiki Warning: There should have
been an (:input start...:) before this (:input...:) markup.]*/ /*[PmWiki
Warning: 'e_saveeditbutton' unknown in (:input e_saveeditbutton
...:).]*/ /*[PmWiki Warning: There should have been an (:input
start...:) before this (:input...:) markup.]*/ /*[PmWiki Warning:
'e_previewbutton' unknown in (:input e_previewbutton ...:).]*/ /*[PmWiki
Warning: There should have been an (:input start...:) before this
(:input...:) markup.]*/ /*[PmWiki Warning: 'e_cancelbutton' unknown in
(:input e_cancelbutton ...:).]*/
/*[PmWiki Warning: There should have been an (:input start...:) before
this (:input...:) markup.]*/
Note: I also tried the variables before the "include_once"
Additional question: When this works and I want to put New Lines for the
default text what is the symbol to do this?
Thanks!
David Sovinski (Caspian)
David Sovinski wrote:
> I would like to use mailform.php as a temporary solution to gathering
> volunteer information.
>
> Is there a way to prefill the Subject and Text sections to that it
> makes the info we need easier to enter for the person filling out the
> mail?
>
> For the Text section I need to put things in multiple lines format
> such as:
>
> Name:
> Address:
> City:
> St:
> Zip:
> Telephone:
>
> Volunteer Area(s):
>
>
More information about the pmwiki-users
mailing list