Needs review
Project:
CiviCRM CDNTaxReceipts
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Jan 2013 at 22:03 UTC
Updated:
28 Feb 2013 at 16:56 UTC
Suggestion: Use the Drupal libraries API to load TCPDF to reduce the ditribution size of this module and ease the code review. See Libraries.
Comments
Comment #1
karingWould it go in /sites/all/libraries or possibly in sites/example.ca/libraries? We need to ensure Drupal doesn't find /sites/example.ca/modules/civicrm/packages/tcpdf first (that's only a very minimal install - v2.1 w/ 4.2.7 - we're using v3 with CiviCRM CDNTaxReceipts at the moment).
Comment #2
lolcode commentedIt can go in /sites/all/libraries or in sites/example.ca/libraries. The location can be chosen from the admin settings. Changes committed on Jan 22nd.
Comment #3
jake.mw commentedWorks great for me.
Comment #4
karingNot sure if this is in your ballpark - but:
When I go to:
/admin/config/civicrm_cdntaxreceipts/settings - to review my settings
I see:
PDF generation tool
one radio button option for sites/all/libraries/tcpdf/tcpdf.php
This option selects the PDF generation tool being used by this module to create the PDF output.
When I hit Save configuration at the bottom - I consistently get a
Notice: Use of undefined constant PRINT_PDF_PDF_TOOL_DEFAULTComment #5
lolcode commentedPlease try now. It should be fixed by commit e665320.