Hi.
Ok, checking the source helped. So I answer my own question:
mailman shell Welcome to the GNU Mailman shell
tm = getUtility(ITemplateManager) tm.set('list:member:regular:footer','mymaillist.example.com','file:///my_absolute_path/list:member:mymaillist.example.com:footer.txt') commit()
// David
On Sat, Sep 23, 2017 at 1:17 PM, David Krantz <gazorg@gmail.com> wrote:
Hi.
How do I set a template for one specific list? I want one list to have a special footer template.
I have tried updating the database (template table) without effect so apparently the database is not used for templates or some kind of fallback is used to set it to the generic footer. Of course I also tried to restart mailman after that operation to try to rule out any caching-related problem.
I want to use a file://-path as that is the least painful way of doing it. I also would like a solution to place a file in a special location. My current templates are in a
.../var/templates/site/en/
structure with names like list:member:generic:footer.txt
Cheers // David