How To Add Certain Placeholder Fields in Email Messages

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

How To Add Certain Placeholder Fields in Email Messages

Postby JJRose » 3:20am, Sat 31 Mar, 2007

Hello,

I am using phplist 2.10.4.
I would like to include some attribute fields in email messages. Currently, I have an attributed called "Name" for people to add their name when subscribing.

In the editing of the templates for outgoing email messages and for the web screen messages, I added the placeholder of [Name] so that the name will display.

This displays fine on the web page messages, but doesn't work in the eamil messages. I have also tried using [FIRST NAME] and also the attribute number (which is 1) as [1]. Neither 'first name' or '1' work in either the web pages display or the email messages. The only thing I can get to work is the attribute field called Name used as [Name] for the web pages confirmation screens.

Also, I noticed a placeholder called [USERDATA] in one of the default email messages, and so I tried experimenting with this field also in the first confirmation email, in the hopes that the userdata may display the name of the subscriber. But that placeholder also doesn't work on email messages either.

I have edited both the templates on the "Subscribe Pages" sections, as well as the "configuration" page. All without success.

So, my goal is: I would like to include the subscriber's name to display in my emails and newsletters.

My question is: How can I get the email messages to also display my "name" attribute in confirmation emails AND the actual newsletters?

Eg, someone called Joe subscribes, and on the screen webpage it reads as "Welcome to our Mailing List, Joe".
Then when they receive their confirmation emails (and the newsletters) they are also addressed by their name.

Thank you.
JJRose
JJRose
phpLister
 
Posts: 13
Joined: 2:47am, Sat 31 Mar, 2007

Postby pia » 3:33am, Sat 31 Mar, 2007

Good question! I would also like to know...
pia
PL Nut
 
Posts: 15
Joined: 1:55pm, Fri 23 Mar, 2007

Postby JJRose » 3:31pm, Sun 01 Apr, 2007

Hello. Is there anyone that can answer this question for me???

Thank you.
JJRose
phpLister
 
Posts: 13
Joined: 2:47am, Sat 31 Mar, 2007

Re: How To Add Certain Placeholder Fields in Email Messages

Postby H2B2 » 5:09pm, Sun 01 Apr, 2007

JJRose wrote:My question is: How can I get the email messages to also display my "name" attribute in confirmation emails AND the actual newsletters?

Eg, someone called Joe subscribes, and on the screen webpage it reads as "Welcome to our Mailing List, Joe".
Then when they receive their confirmation emails (and the newsletters) they are also addressed by their name.

With regard to including (custom) attributes on the "thank you page", you can just add the placeholder to the source code of that web page: Admin >> subscribe pages >> Thank you page.

As mentioned in the documentation, it is not (yet) possible to include custom placeholders in system messages, like the confirmation request email for instance. You can however include placeholders in list message (e.g. newsletters).
Ref: http://docs.phplist.com/Placeholders
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 5 guests