Hello,
I tried to customize the emails which are sent to user after registration.
The Original in de-de language looks like
'YOUR_REGISTRATION_IS_PENDING_APPROVAL_MESSAGE' => "Hallo [NAME],\r\nDanke für die Registrierung. Wir haben\r\ndie Registrieranfrage ...",
...and so on
I'd like to change "Name" to cb fields depending on profiletype.
A-Users should receive email with Hello "cb_vorname" "cb_nachname" (firstname, lastname)
F-Users should receive email with Hello "cb_unternehmen" (company name)
So I tried it with substitutions in the way I use them normally:
'YOUR_REGISTRATION_IS_PENDING_APPROVAL_MESSAGE' => "Hallo [cb:if cb_profiletype="a-profil"][cb:userfield field="cb_vorname" /] [cb:userfield field="cb_nachname" /][/cb:if][cb:if cb_profiletype="f-profil"][cb:userfield field="cb_unternehmen" /][/cb:if],\r\nDanke für die Registrierung. ...",
...and so on
After saving language file I receive an sitewide 500 internal Server error.
Where's my mistake? :whistle:
Thanks in forward and merry x-mas
Best,
René