[Mailman-Users] How to.......

Mark Sapiro msapiro at value.net
Mon Nov 21 04:13:08 CET 2005


Bob Bales wrote:

>How does one change the codes to eliminate options in the subscription page.
>IE: hide the email address. Can you give me step by step, as I am really
>slow ...;-)

Do you mean the listinfo page with URL like
<http://www.example.com/mailman/listinfo/list_name>?

If so, it helps if you know a little about HTML. Also see
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp>
for general information about editing templates and where to find the
base template in case you mess up.

In the specific case of the listinfo template, you can make a list
specific, edited version of this template via the admin web interface.
Go to the list admin pages with a URL like
<http://www.example.com/mailman/admin/list_name>. Click the "Edit the
public HTML pages" link on the right of the top section. Then click
the "General list information page" link.

At this point, I suggest selecting and copying all the information in
the text box and pasting it into an editor and saving it as a backup.

If for example, you just want to eliminate the line "To post a message
to all the list members, send email to list at example.com." from the
page, delete the lines

	  To post a message to all the list members, send email to
	  <A HREF="mailto:<MM-Posting-Addr>"><MM-Posting-Addr></A>.

and the '<p>' from the following line.

If you want to delete the entire "Using list_name" section, delete all
of

      <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>

After editing, "Submit Changes".

Make very small changes and check the result befor making more changes.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list