I see the html attachment was stripped, here's the listinfo.html page
attached as a .txt file.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brendan Chard
Sent: Tuesday, July 20, 2004 4:38 PM
To: [EMAIL PROTECTED]
Subject: [Mailman-Users] Customizing Listinfo page
Using Mailman 2.1.4 on FreeBSD
I am attempting to edit the listinfo.html template file so that the edit
subscriber options form appears before the subscription form as this is more
practical for supporting my user base.
I have successfully switched the two forms on the listinfo page and made
minor edits to make it more user friendly but have encountered one problem.
If a user enters an address that is not subscribed to the list and then
presses the "Unsubscribe or Edit Options" button (which I have renamed to
"Edit My Options") a bug traceback screen results. In the original unedited
listinfo page if the address is not subscribed mailman is able to tell the
user this without producing a bug traceback.
A modified listinfo page for one of the lists is available for viewing here:
http://groups.michbar.org/mailman/listinfo/aces
Attached is my modified listinfo.html template file and the traceback
report.
Any help in pointing out how I might have incorrectly modified the
listinfo.html file to cause this error is greatly appreciated.
-Brendan
<!-- $Revision: 2.4 $ -->
<HTML>
<HEAD>
<TITLE><MM-List-Name> Info Page</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<P>
<TABLE COLS="1" BORDER="0" CELLSPACING="4" CELLPADDING="5">
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#99CCFF" ALIGN="CENTER">
<B><FONT COLOR="#000000" SIZE="+1"><MM-List-Name> --
<MM-List-Description></FONT></B>
</TD>
</TR>
<tr>
<td colspan="2">
<p>
</td>
</tr>
<tr>
<TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0">
<B><FONT COLOR="#000000">About <MM-List-Name></FONT></B>
</TD>
<TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0">
<MM-lang-form-start><MM-displang-box> <MM-list-langs>
<MM-form-end>
<MM-Options-Form-Start>
</TD>
</TR>
<tr>
<td colspan="2">
<P><MM-List-Info></P>
<p> To see the collection of prior postings to the list,
visit the <MM-Archive><MM-List-Name>
Archives</MM-Archive>.
<MM-Restricted-List-Message>
</p>
</TD>
</TR>
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
<B><FONT COLOR="#000000">Using <MM-List-Name></FONT></B>
</TD>
</TR>
<tr>
<td colspan="2">
To post a message to all the list members, send email to
<A HREF="mailto:<MM-Posting-Addr>"><MM-Posting-Addr></A>.
<p>You can subscribe to the list, or change your existing
subscription, in the sections below.
</td>
</tr>
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
<a name="subscribers">
<B><FONT COLOR="#000000"><MM-List-Name> Subscribers :: Edit
Options</FONT></B></a>
</TD>
</TR>
<tr>
<TD COLSPAN="2" WIDTH="100%">
<p>
<MM-Editing-Options>
<MM-Form-End>
</td>
</tr>
<MM-Subscribe-Form-Start>
<TR>
<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
<B><FONT COLOR="#000000">Subscribing to <MM-List-Name></FONT></B>
</TD>
</TR>
<tr>
<td colspan="2">
<P>
Subscribe to <MM-List-Name> by filling out the following
form.
<MM-List-Subscription-Msg>
<ul>
<TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2"
WIDTH="70%" HEIGHT= "112">
<TR>
<TD BGCOLOR="#dddddd" WIDTH="55%">Your email address
<b>(required)</b>:</TD>
<TD WIDTH="33%"><MM-Subscribe-Box>
</TD>
<TD WIDTH="12%"> </TD></TR>
<tr>
<td bgcolor="#dddddd" width="55%">Your name <b>(required)</b>:</td>
<td width="33%"><mm-fullname-box></td>
<TD WIDTH="12%"> </TD></TR>
<TR>
<TD COLSPAN="3"><FONT SIZE=-1>You may enter a
privacy password below. This provides only mild security,
but should prevent others from messing with your
subscription. <b>Do not use a valuable password</b> as
it will occasionally be emailed back to you in cleartext.
<p>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.
<MM-Reminder>
</TD>
</TR>
<TR>
<TD BGCOLOR="#dddddd">Pick a password:</TD>
<TD><MM-New-Password-Box></TD>
<TD> </TD></TR>
<TR>
<TD BGCOLOR="#dddddd">Reenter password to confirm:</TD>
<TD><MM-Confirm-Password></TD>
<TD> </TD></TR>
<tr>
<TD BGCOLOR="#dddddd">Which language do you prefer to display your
messages?</TD>
<TD> <MM-list-langs></TD>
<TD> </TD></TR>
<mm-digest-question-start>
<tr>
<td>Would you like to receive list mail batched in a daily
digest?
</td>
<td><MM-Undigest-Radio-Button> No
<MM-Digest-Radio-Button> Yes
</TD>
</tr>
<mm-digest-question-end>
<tr>
<td colspan="3">
<center><MM-Subscribe-Button></P></center>
</TABLE>
<MM-Form-End>
</ul>
</td>
</tr>
</table>
<MM-Mailman-Footer>
</BODY>
</HTML>
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/