Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding User Fields to Email Templates
#1
Hello there,

I created an email template using the variables $users-first_name$ $users-last_name$ in the greeting line.

I expected these variables to be replaced to the active CRM users name and thus my name in that line when the email is sent. But the variables do not get replaced.

Is that a bug or did I miss out on something?

Best regards
Henning ( $users-first_name$ $users-last_name$ Smile )

PS: Also I would like to customize the output of $custom-currentdate$ in emails to reflect German common usage. Any hint how to do that?
Reply
#2
This should work as you describe. I just tried in my development install and it did work correctly.

I had a look and it seems we added that at the end of june:

https://github.com/tsolucio/corebos/commit/091029736c55fe6626ac5cf83d67b8216776d794

is your install up to date?
Joe
TSolucio
Reply
#3
I just added a global variable that will permit you to give some basic formatting to the date. It isn't the correct solution (which is much more complex) but it should get you the basic functionality you are looking for:

https://github.com/tsolucio/corebos/commit/44308dd92ee2683a36b869cb93c3d374a08f0d28

let us know how it goes
Joe
TSolucio
Reply
#4
Hi Joe,

thanks for your quick reply.
The update did it for the user variables.
The global variable works fine for the date in emails.

Thank you very much!!!
Henning
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)