Met your dad at NYC drupal meetup, so I checked out the module. We might end up using it. This patch does three things, the last of which you may want to ignore.
1. sets the content-type header to application/pdf;charset=UTF-8, so the browser prompts for a save instead of trying to display the pdf binary.
2. adds a {clean_title}.pdf to the end of the 'Create PDF' link, so the file saved is nicer.
3. comments out pdfflyer_generate_file($pdf, $node->title);
If I don't comment out the latter, I get ERROR:
: Object of class PEAR_Error could not be converted to string in /usr/local/share/sandboxes/common/drupal/sky/sites/edu.site/modules/pdfflyer/pdfflyer.module on line 166.
Presumably this is still developing code....
Also, the patch doesn't do this, but I didn't need to do step #5 in the INSTALL file and it worked, so I presume that it's no longer necessary
Comment | File | Size | Author |
---|---|---|---|
pdfflyer.patch | 549 bytes | schuyler1d |