Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2008-08-14 11:31:57
Size: 1673
Editor: msapiro
Comment: Converted &lt; and &gt; to < and >. Removed extra {noformat} lines.
Revision 6 as of 2012-11-24 15:05:23
Size: 2005
Editor: msapiro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/5865498 #pragma page-filename DOC/versions/4030596
Line 3: Line 3:
Cut and paste the code below into the HTML of your web page.
Cut and paste the code below into the HTML of your web page. Replace XYZ with the name of your list and adjust the action= URL as required for your mailman installation.
Line 7: Line 8:
{{{#!wiki caution

Beginning with Mailman 2.1.16, a site can choose to add a dynamically generated hidden hash to the subscribe form. If that is done, static forms such as below will not work. See the information in Defaults.py for the SUBSCRIBE_FORM_SECRET setting for more information.
}}}
Line 9: Line 15:
 <form method="post" action=
 
"http://example.org/mailman/subscribe/XYZ">

<form method="post" action="http://example.org/mailman/subscribe/XYZ">
Line 13: Line 19:
Line 21: Line 28:
Line 23: Line 31:
Line 27: Line 36:
Line 32: Line 42:
''Last changed on Mon Feb 11 05:16:27 2008 by'' Mark Sapiro
<<Color2(
Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
Converted from the Mailman FAQ Wizard

This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

4.33. How do I put a subscribe form for my list on a web page?

Cut and paste the code below into the HTML of your web page. Replace XYZ with the name of your list and adjust the action= URL as required for your mailman installation.

The only required parts of this form are the email text box and the submit button - edit or remove the others as you like.

Beginning with Mailman 2.1.16, a site can choose to add a dynamically generated hidden hash to the subscribe form. If that is done, static forms such as below will not work. See the information in Defaults.py for the SUBSCRIBE_FORM_SECRET setting for more information.

 <h2>Join the XYZ list</h2>

 <form method="post" action="http://example.org/mailman/subscribe/XYZ">
  Your E-mail address: <input name="email"> Your Name (optional):
  <input name="fullname">

  <p>You may enter a privacy password below. This provides only
  mild security, but should prevent others from messing with your
  subscription. <strong>Do not use a valuable password</strong> as
  it will occasionally be emailed back to you in cleartext. If you
  choose not to enter a password, one will be automatically
  generated for you, and it will be sent to you once you've
  confirmed your subscription. You can always request a mail-back
  of your password when you edit your personal options.</p>

  <p>Password choice: <input type="password" name="pw"> Confirm
  Password: <input type="password" name="pw-conf"></p>

  <p>Would you like to receive list mail batched in a daily digest?
  (You may choose NoMail after you join.) <input type="radio" name=
  "digest" value="0" checked> No <input type="radio" name="digest"
  value="1"> Yes</p>

  <p><input type="submit" name="email-button" value=
  "Subscribe"></p>
  </form>

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.33 How do I put a subscribe form for my list on a web page? (last edited 2012-11-24 15:05:23 by msapiro)