Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] {Spam?} Question Regarding Mail Merge Feature
- From: Philippe Aepli <address@concealed>
- To: "address@concealed" <address@concealed>, "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] {Spam?} Question Regarding Mail Merge Feature
- Date: Mon, 5 May 2014 12:14:23 +0000
| Hello, 
 If you want to see all variables in an email template. You need to install the Dumper plugin with CPAN (root) and add this following lines in your template: 
 Install the Dumper plugin (root): # cpan cpan[1]> install Template::Plugin::Dumper 
 Check this install: cpan[2]> i Template::Plugin::Dumper 
 Add the following lines in your template: [% USE Stash %] [% USE Dumper %] [% Dumper.dump (Stash.stash()) %] 
 Regards. 
 --- 
 Philippe AEPLI Email: address@concealed Université de Genève Tél: +41 22 379 72 86 Division STIC Mob: +41 79 280 20 24 Rue du Général-Dufour, 24 Fax: +41 22 379 79 86 1204 Genève 
 
 > -----Message d'origine----- > De : address@concealed [mailto:sympa-users- > address@concealed] De la part de address@concealed > Envoyé : lundi 5 mai 2014 06:27 > À : address@concealed > Objet : {Spam?} [sympa-users] Question Regarding Mail Merge Feature > > Hi all, > > I'm substituting curly braces for square ones in this post - so that > what I > write don't get suppressed :-) > > With regard to the mail merge feature, I'm aware that you can send an > email to > a list containing the following: > > {% user.custom_attribute.foo.value %} > > and Sympa will substitute the custom attribute as appropriate. > > What's not clear to me, is whether you can substitute the "list wide" > custom_vars in a similar way. > > Within an email I have tried the likes of: > > {% listname.custom_vars.baz.value %} > > but I'm not getting anywhere. > > Perhaps custom_vars can only be used in web / mail templates ? If so, > why ? > It would seem very useful to be able to access custom values on a per > list > basis (as opposed to per user per list) via email (rather than > templates). > > Thanks, > > Patrick | 
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- 
            
            [sympa-users] Question Regarding Mail Merge Feature,
            p.rynhart, 05/05/2014
- RE: [sympa-users] Question Regarding Mail Merge Feature, Steve Shipway, 05/05/2014
- 
        RE: [sympa-users] {Spam?} Question Regarding Mail Merge Feature,
        Philippe Aepli, 05/05/2014
- 
            
            Re: [sympa-users] Question Regarding Mail Merge Feature,
            p.rynhart, 05/06/2014
- 
            
            RE: [sympa-users] Question Regarding Mail Merge Feature,
            Steve Shipway, 05/06/2014
- RE: [sympa-users] Question Regarding Mail Merge Feature, Patrick Rynhart, 05/06/2014
 
 
- 
            
            RE: [sympa-users] Question Regarding Mail Merge Feature,
            Steve Shipway, 05/06/2014
 
- 
            
            Re: [sympa-users] Question Regarding Mail Merge Feature,
            p.rynhart, 05/06/2014
 
Archive powered by MHonArc 2.6.19+.
