[prev in list] [next in list] [prev in thread] [next in thread]
List: mailman-developers
Subject: Re: [Mailman-Developers] Virtual Domains Redux (w proposal)
From: Rich Johnson <rjohnson () dogstar-interactive ! com>
Date: 2006-03-10 21:37:37
Message-ID: 6ABF2BE5-7F6D-4460-9429-0F0C6B3F8424 () dogstar-interactive ! com
[Download RAW message or body]
On Mar 10, 2006, at 2:11 PM, Hans Ulrich Niedermann wrote:
> Rich Johnson <rjohnson@dogstar-interactive.com> writes:
> > [...snip...]
> > - HTTP and mail message templates probably require list->sub-domain-
> > base-domain->site scoping [N.B. I'm still thinking about my
> > position on this issue]
>
> Let me cite the comment from MM's 2.1.7 Mailman/Utils.py findtext()
> function:
>
> # When looking for a template in a specific language, there are
> 4 places
> # that are searched, in this order:
> #
> # 1. the list-specific language directory
> # lists/<listname>/<language>
> #
> # 2. the domain-specific language directory
> # templates/<list.host_name>/<language>
> #
> # 3. the site-wide language directory
> # templates/site/<language>
> #
> # 4. the global default language directory
> # templates/<language>
>
> Looks like your idea is already in place. :)
Hooray! The scoping exists!. (FWIW, I needed some good news today!)
Now, if I can use Site.py (or one of its siblings) to bring it all
into a domain-rooted fs by mapping:
- lists/<listname>/<language> -> /var/vdomains/<list.host_name>/
var/lib/mailman/lists/<llist.local_name>/<language>
- templates/<list.host_name> -> /var/vdomains/<list.host_name>/
var/lib/mailman/templates/<language>
perhaps via: Site.list_template_dir(). Site.domain_template_dir(),
and so on....
......I'll declare victory and wait for the next release (...well,
maybe :-)
I hope that's not too much to ask.
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/mailman-developers%40progressive-comp.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic