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

dww’s picture

Category: feature » support
Status: Active » Closed (works as designed)

In the "Confirmation email:" setting on each node, the following token is mentioned in the help text:

Supported string substitutions: %node_title, %node_url, %node_start_time, %user_name, %user_mail, %user_signup_info (additional information from the signup form), and %cancel_signup_url (access to this link is denied to users without the "cancel own signups" permission).

(emphasis added). ;)

donkasok’s picture

Hi,

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

dww’s picture

@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.