CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • adding signatures to templates
Pages: [1]

Author Topic: adding signatures to templates  (Read 1505 times)

KalBMac

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.0.1
  • CMS version: Drupal 7.2
  • MySQL version: 5
  • PHP version: 5.2.13
adding signatures to templates
July 06, 2011, 11:27:45 am
This is likely obvious, but I cannot find the equivalent of {domain} for {signature} (of the user sending the email template).

For templates sent with the CiviMail through mass emails this is easy as you can create a footer with a user's signature, but how do I include the user's signature in a template sent from a one off email sent in Activities? As soon as I select the template the user's signature is gone.

thanks...K

modreoci

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: D 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: adding signatures to templates
June 23, 2013, 09:54:22 am
I have exactly the same problem...  :'( It is BMHO very important (and usefull) feature to be able to put "logged_in_user_email_signature" token into the email template (for emails sent from Actions). It considerably improves email automation, because the default user signature disappears immediately after the template selection.

Can anybody help? ???

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: adding signatures to templates
June 23, 2013, 11:22:36 am
Hi,

It would be a problem when used with civimail, because the user that "sends" the email is a technical one used by the cronjob that does the sending

This being said, I can see the use indeed and avoid duplicated templates where the only different thing is the signature

If you know php, it shouldn't be too difficult to write a civicrm extension that use the token hooks to add a {sender.signature} token.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

modreoci

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: D 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: adding signatures to templates
June 23, 2013, 03:23:59 pm
Hi Xavier,

Thnx for the quick response.

I understand that in the CiviMail does not exist that kind of sender I described (logged in user). But... bigger problem for me is to make that code you wrote (although I'm the hard skilled user, but still only the user) than to differentiate various templates by title. Templates are for both subsystems, well for the simple Actions and also for bulk CiviMail. Therefore I think it could be good thing to have these kinds of tokens available.

 ;)

modreoci

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: D 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: adding signatures to templates
June 23, 2013, 03:29:46 pm
Another one solution (maybe much more simplier but still acceptable) is to let user signature to stay just after the actually loaded template...  8)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • adding signatures to templates

This forum was archived on 2017-11-26.