Dennis Putnam wrote: > >I am trying to customize my monthly password reminder for a specific >list. As I understood the documentation, in 'templates' I had to create >the directory path 'lists/<list name>/en' and place an edited copy of >'userpass.txt' into it. However, when the monthly reminder is sent, it >uses the original default text for the reminder. What am I >misunderstanding about the hierarchy of customized files? TIA.
First of all, the template for monthly reminders is cronpass.txt, not userpass.txt. userpass.txt is for 'on demand' reminders, but that isn't the only issue. A second issue is list specific templates do not go in templates/lists/<listname>/<lc>/. They go in a language (en or whatever) directory in the already existing lists/<listname> directory (the directory that contains config.pck), but there is yet another issue. Monthly password reminders are sent from the site (mailman) list. A single reminder message includes passwords for all lists with the same host_name to which the recipient is subscribed with reminders enabled. Thus, the template is processed without a list context, and a customized cronpass.txt template placed in a list directory will not be consulted. You have to put it in templates/site/en/cronpass.txt or templates/<host_name>/en/cronpass.txt, and it will apply to reminders for all lists or all lists with that host_name. I have just updated the FAQ at <http://wiki.list.org/x/jYA9> to mention this fact. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org 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