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) »
  • How to edit the contribution receipt to include a background image and fit page
Pages: [1]

Author Topic: How to edit the contribution receipt to include a background image and fit page  (Read 1040 times)

NathanMc

  • I’m new here
  • *
  • Posts: 8
  • Karma: 1
How to edit the contribution receipt to include a background image and fit page
December 17, 2013, 10:56:20 pm
Hello,

I've set up civicrm to use for our local nonprofit.  We are just getting up and running and have been told that we have to have receipts sent out on our letterhead.  I have been trying for the past two hours to edit the system workflow Message Template for online donation receipts to include a background image to no avail.  I was able to get the image into the email using the thank you message in the contributions but it doesn't change it in the receipt.

Also, the table in our receipts goes off the page

I was wondering if someone has done something like this and would be able to point me in the right direction.

I've included a sample of the letterhead that we would like to use. 

Thanks,

zkrebs

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
Re: How to edit the contribution receipt to include a background image and fit page
March 07, 2014, 10:22:01 am
You need to edit the CiviCRM "System Driven Message Template" for online receipts.

/civicrm/admin/messageTemplates/add?action=update&id=7&reset=1  is where mine is

Hope that helps.

find the rest of the templates here: /civicrm/admin/messageTemplates?reset=1

awasson

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 7
  • Living in a world of Drupal / CiviCRM
    • My Company: Luna Design
  • CiviCRM version: Latest
  • CMS version: Drupal 6/7/8
  • MySQL version: 5.x
  • PHP version: 5.3.x
Re: How to edit the contribution receipt to include a background image and fit page
March 07, 2014, 07:04:15 pm
Administer -> Communications -> Message Templates

Then click the tab for System Workflow Messages

/civicrm/admin/messageTemplates?reset=1

You'll probably want to edit the Contributions - Receipt (off-line)

By the way, Outlook will ignore background images in email messages but most others should be ok. Not sure about GMail, Yahoo, etc...
My CiviCRM Extension Workshop: https://github.com/awasson

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to edit the contribution receipt to include a background image and fit page

This forum was archived on 2017-11-26.