Jimmy wrote: >Hi all, We are trying to customize the verify.txt which is used in the Email >subscription confirmation to the user. We would like to personalize it by >adding the user's fullname when they registered. What is the %variable for >the user's fullname we can use in the verify.txt file?
There isn't one unless you modify the code in Mailman/MailList.py (2 places - new subscription and address change) to provide one. In general, the replacement dictionaries are template specific and contain only the substitutions in the default template. >Since the user's >fullname is optional on the registration form so may be blank, does the >verify.txt file support some type of conditional code so only display the >user's fullname when it is not blank? If you implement this, you could do something like what is currently done with 'remote'. I.e., you define the replacement text to be perhaps 'Hello <full name>' when <full name> is not empty and '' when it is empty. There is no way within the template to say 'some text %(x)s' if x is non-empty and nothing otherwise. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users 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-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
