Hi,
I searched the open issues, but I don't think this question came up before.
I want to include the values entered by the user in the sign up form when the confirmation mail is send.
Anyone has a patch for me or do I have to dive in the php code myself ?
Stef
Comments
Comment #1
dwwIn the "Confirmation email:" setting on each node, the following token is mentioned in the help text:
(emphasis added). ;)
Comment #2
donkasok commentedHi,
First of all thanks for this nice module. I used template.php to insert Title, First Name,Last name ,Phone,Designation, Organization, Food fields.
In db the fields rae stored in a:7:{s:5:"Title";s:4:"prof";s:4:"Name";s:3:"don";s:8:"LastName";s:4:"asok";s:5:"Phone";s:8:"65856665";s:11:"Designation";s:7:"postdoc";s:12:"Organization";s:8:"commgate";s:4:"Food";s:5:"other";}
I am very new to this. Now i need to set up the conformation email like
Name: title+firstname+lastname
How can i accomplish this.
How can i retrieve each element from the db individually.
with regards,
Don
Comment #3
dww@Don: "How can i retrieve each element from the db individually."
You can't (at least not in the confirmation email). These custom fields suck. #29568: Flexible number and type of fields needs to happen to make them not suck. Meanwhile, you either get the full array of them or nothing.
Well, actually, there's a theme function for this, so you could potentially do some whacky stuff if you only ever wanted certain fields to show up in the emails. See theme_signup_custom_data_email() from signup/theme/email.inc.