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 CiviEvent (Moderator: Yashodha Chaku) »
  • 'civicrm.pdf' is an inappropriate name for attachment to confirmation email
Pages: [1]

Author Topic: 'civicrm.pdf' is an inappropriate name for attachment to confirmation email  (Read 749 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
'civicrm.pdf' is an inappropriate name for attachment to confirmation email
January 26, 2011, 06:39:16 am
In my custom code I've renamed this to 'confirmation.pdf'. The patch for 3.3.3 is ...

Code: [Select]
--- /data/Download/CiviCRM/civicrm-3.3.3-drupal/./CRM/Event/BAO/Event.php 2010-12-02 20:48:22.000000000 +1100
+++ /data/Work/IT/CiviCRM/Local/3.3.3/php/./CRM/Event/BAO/Event.php 2011-01-26 16:24:36.445338002 +1100
@@ -1114,7 +1114,7 @@
                         'confirm_email_text' => CRM_Utils_Array::value('confirm_email_text', $values['event']),
                         'isShowLocation'     => CRM_Utils_Array::value('is_show_location',   $values['event']),
                     ),
-                    'PDFFilename' => 'civicrm.pdf',
+                    'PDFFilename' => 'confirmation.pdf',
                 );
 
                 // address required during receipt processing (pdf and email receipt)

Ken

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: 'civicrm.pdf' is an inappropriate name for attachment to confirmation email
January 26, 2011, 08:17:22 am

fixed for 3.3.4

i changed the name to eventReceipt.pdf (in line with the contribition code with is receipt.pdf)

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • 'civicrm.pdf' is an inappropriate name for attachment to confirmation email

This forum was archived on 2017-11-26.