[Mailman-Users] change listinfo url?

Mark Sapiro mark at msapiro.net
Wed Jun 13 12:32:29 EDT 2018


On 06/13/2018 08:28 AM, Russell Clemings wrote:
> Would it be easier just to hide the spaghetti on the listinfo pages?

I'm not sure what you mean by "hide the spaghetti", but if you mean
remove the subscribe form (or actually, whatever you mean), that's
pretty simple.

In Mailman's templates/ directory, create a site/ subdirectory and a
site/en/ subdirectory and a site/LC/ subdirectory for any other
languages you support. Then copy templates/en/listinfo.html to
templates/site/en/listinfo.html and similarly for any other languages.

Then, in templates/site/en/listinfo.html, remove what you don't want.

This will create a sitewide, default listinfo template that will survive
upgrades. It will still be oferridden by domain and list specific
templates - see <https://wiki.list.org/x/4030605>.

Or you can just create/edit list specific templates per list via "Edit
the public HTML pages and text files -> General list information page"
in the list's web admin UI.

-- 
Mark Sapiro <mark at msapiro.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