[Mailman-Users] Templates
JB
jebva at yahoo.com
Sat Apr 4 18:24:13 CEST 2015
Well that kind of sucks. It would be pretty difficult (with my limited python knowledge) to edit that code so that it generate a page skinned to each client's web site. I really think this is the one glaring weakness with MM. Not trying in any way what-so-ever to kick your cat by say that so please do not take it that way. It is just hard to create a professional site design utilizing MM when a number of pages are tied to that plain vanilla look and feel. MM would be such a far superior product if all of the pages were skinnable to match the look and feel of the client's site.
In all of my lists, MM is used as a generic announcement only mailing list. There is no form presented to subscribe/unsubscribe (email commands are all that we use). We do not utilize subscriber passwords etc so the whole 'login' interface is 100% irrelevant. My listinfo page is merely a text with the mailto sub/unsub links skinned to match the web site. I'd actually prefer to set it up so that either the options page is a clone of the listinfo page (or even better so as to avoid keeping two copies of the same code) simply have the options page (at login or any point) redirect to the listinfo page. Of course all of this would need to be done on a list by list basis and not 100% hardcoded per se.
Anyway, that is my feedback. I applaud the efforts to write this program. I could never do it. I think tough that a little more flexibility in design woudl make it so very much better.
--------------------------------------------
On Sat, 4/4/15, Mark Sapiro <mark at msapiro.net> wrote:
Subject: Re: [Mailman-Users] Templates
To: mailman-users at python.org
Date: Saturday, April 4, 2015, 12:56 AM
On 04/03/2015 08:42 PM,
JB wrote:
> I think I found a clue as to
what the issue is. The page that renders has a title
"LISTNAME: member options login page". I am
guessing that this login page is NOT what is skinned by
options.html (assuming that the actual page displayed t the
member once logged on is what that template controls). So
that now begs the questions, how do I customize that
"member option login page"?
The options login page is one
of several that are built on the fly by
the
relevant CGI without using any template. If you look in
Defaults.py
in the Web UI defaults section
you will see a number of settings that
you
can put in mm_cfg.py to change various colors. In Mailman
2.1.19 and
newer, there is also a
WEB_HEAD_ADD setting that enables adding things
like style sheet references to the HEAD section
of these pages.
If those
are not sufficient to do what you want, you have to modify
the
generating code in
Mailman/Cgi/options.py
--
Mark Sapiro <mark at msapiro.net>
The highway is for gamblers,
San
Francisco Bay Area, California better use your sense -
B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users at python.org
https://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: https://mail.python.org/mailman/options/mailman-users/jebva%40yahoo.com
More information about the Mailman-Users
mailing list