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) »
  • Can I remove 'social media sharing' from receipts/.pdfs?
Pages: [1]

Author Topic: Can I remove 'social media sharing' from receipts/.pdfs?  (Read 624 times)

mlekas

  • I’m new here
  • *
  • Posts: 2
  • Karma: 1
  • CiviCRM version: 4.3.1
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.68
  • PHP version: 5.3.10
Can I remove 'social media sharing' from receipts/.pdfs?
May 07, 2013, 02:51:38 pm
Hi,
I'm wondering if it's possible to keep the 'social media sharing' option enabled for a particular contribution but not have it show up in the resulting receipt email and attached .PDF file. This is on Drupal 7 using Civi 4.2.1. The hover help says "when enabled...Social media links will be included on the Contribution page, Thank-you page, Tell-a-Friend page (if enabled), and in contribution receipt emails." I just don't want them in the PDFs as the layout gets all messed up.

Attached is the picture of a PDF receipt with the messed-up content.
Even if it wasn't messed up, it still seems unnecessary to put the links in the PDF.

thanks,
Michael

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can I remove 'social media sharing' from receipts/.pdfs?
May 07, 2013, 03:29:02 pm
You can modify mailing reciept for "Contributions - Receipt (on-line)" and remove social plugins.

For eg check http://drupal.demo.civicrm.org/civicrm/admin/messageTemplates/add?action=update&id=7&reset=1
and then search for "{include file="CRM/common/SocialNetwork.tpl"….."

HTh
Kurund
Found this reply helpful? Support CiviCRM

mlekas

  • I’m new here
  • *
  • Posts: 2
  • Karma: 1
  • CiviCRM version: 4.3.1
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.68
  • PHP version: 5.3.10
Re: Can I remove 'social media sharing' from receipts/.pdfs?
May 07, 2013, 03:58:17 pm
Thank you!
Is the content of the PDF file composed from the defaults on this template? The template for PDF files seems only concerned with layout, not content, so I Assume the content is coming from the HTML Format section.

Answered my own question - PDF file contents are also changed when you remove the formatting from the email template.

Michael
« Last Edit: May 07, 2013, 04:24:58 pm by mlekas »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Can I remove 'social media sharing' from receipts/.pdfs?

This forum was archived on 2017-11-26.