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) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Specific PDF message template for "Print or Email Contribution Receipt" action
Pages: [1]

Author Topic: Specific PDF message template for "Print or Email Contribution Receipt" action  (Read 2211 times)

valderama

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: drupal 6
  • MySQL version: 5
  • PHP version: 5
Specific PDF message template for "Print or Email Contribution Receipt" action
October 19, 2011, 01:35:59 am
Is there any way to change the message template used for the PDF generation?

I'd like to use a custom one, to not interfere with the templates used for emailing.

It would be the best if I could specify one of those "User driven Message" template to use for this.

Thanks a lot!!

Best,
Walter
« Last Edit: October 19, 2011, 01:49:48 am by valderama »

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
October 19, 2011, 03:36:55 am
It is hard-coded at the moment - It would be good if it weren't but it's waiting for someone to throw some resources at it.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

atwillia

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5
  • MySQL version: 5.1.56
  • PHP version: 3.4.7.1
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
January 27, 2012, 08:00:21 pm
Hi,

I'm new to CiviCRM and the community.  I would also like to have this functionality (i.e. the ability to modify the PDF receipt and/or use a user-generated letter) and was planning on trying to find someone to hire to do the customizations for us (I'm not a web developer).  What is involved in sponsoring development of this as part of the community?  Any estimates on how significant a project it is?

Thanks,
Atwell Williams

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
January 28, 2012, 07:07:56 pm

If i had to guess its a 10-20 hour project

our consulting agreement is here: http://wiki.civicrm.org/confluence/display/CRM/Consulting+Services+Agreement

other providers who can do it and submit back to core here: http://civicrm.org/professional

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
April 02, 2013, 12:23:27 pm
Has there been any additional movement on this?  Is it still a "10-20 hour" project?

If I looked at building an module or extension for this, would others be interested?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
April 02, 2013, 01:47:01 pm

dont think so, but might want to check on the 4.3 demo boxes to confirm this

seems like structuring the code to take in a user selectable message template for email/pdf might not be too hard and probably a shorter project, guesstimating here (5-10 hours?)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
April 02, 2013, 01:58:37 pm
I feel like I did this - but maybe against 4.1 or even 3.4 & didn't pursue it for 4.2 as Samuel had a bunch of improvements he was looking at which he did proceed with for 4.2.

I can't find my patch.

My recollection was that it was fairly simple but there was some question as to which templates should be available (partly because it made it cluttered & possibly partly because I wasn't sure if there were any security implications - especially if it were possible to render smarty through the tpl)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
April 02, 2013, 02:22:30 pm
Some background: the reason I want this is that we want (e.g.) to include the recipients full name and address when printed, spaced so that it appears through a window envelope when tri-folded, but the same code as an HTML file looks bad (not to mention the full name and address isn't needed).

Lobo - this doesn't exist in 4.3 (from my testing).

Eileen - I'd love to see such a patch is you could find it.  I found somewhat similar code at http://forum.civicrm.org/index.php?topic=22235.0 but it's not a user selectable message template.

The ability to have different messages based on contribution amount can be done now (using conditions in the template) but being able to manually select different messages - perhaps one for the annual fall donation drive - would still be beneficial.

Thanks!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Specific PDF message template for "Print or Email Contribution Receipt" action
April 02, 2013, 02:40:10 pm
Hi i had a search but I can't find hide nor hair of it now :-(

Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Specific PDF message template for "Print or Email Contribution Receipt" action

This forum was archived on 2017-11-26.