Thanks for the reply. The information that I want to add to the monthly reminder is specific to the members of one particular list. While I guess it does not hurt to send it to all lists if I word it correctly, it would be nice to have list specific reminders. Is there a relatively simple way around this or is it hard coded? Perhaps this could be added as a feature for a future release.
On 10/2/2011 10:45 PM, Mark Sapiro wrote: > 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. >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------ 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