On 5/21/2012 5:19 AM, Tomislav Luetić wrote:
> 
> I've got a 2.1.14 Mailman that I'm setting up for a computer-unsavvy group
> of people, and would like to remove a good deal of options available in the
> list admin page, setting a default value. From what I understand, this and
> similair pages are automatically generated by modules in /Mailman/Cgi, but
> so far I haven't found where this is generated. I don't mind getting dirty
> in python, but I would like some understanding of it before I jump in.


There are two parts to this. Most, but not all of the various admin
sub-pages are defined in Mailman/Gui/*.py where * is the name of the
sub-page. The rest is in Mailman/Cgi/admin.py.

Also, you can suppress sub-pages appearing in the admin GUI at all by
redifining ADMIN_CATEGORIES in mm_cfg.py (See Defaults.py for the base
list). The only problem is that the 'general' page will always appear as
the default page even if you omit it from the list.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to