Closed (works as designed)
Project:
Printer, email and PDF versions
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 23:57 UTC
Updated:
8 Mar 2019 at 20:03 UTC
Jump to comment: Most recent
Comments
Comment #1
wisniewski commentedI have also added hook_theme to my ZEN subtemplate:
function ttsr_theme(&$existing, $type, $theme, $path) {
$hooks['print_pdf_tcpdf_header'] = array(
'arguments' => array('pdf' => NULL, 'html' => '', 'font' => array()),
);
return $hooks;
}
Do you know how to deal with it? (I don't want to modify oryginal print module)
Comment #2
jcnventuraYou seem to be using the D6 theme array, with the D7 module.. your theme array should use 'variables' instead of 'arguments',
Also, make sure that you do like the module in your theme function, and start the code with
$pdf = $vars['pdf'];Comment #3
jcnventuraNo further info in more than two weeks. Closing the issue.
Comment #4
ivex commentedSorry to ask over this closed issue but I am trying to do the same. I have created a webform submission and I want to modify a lot from it. I have tried to create a new header and footer for the tcpdf but nothing works. Can you please help me out. I would really appreciate any guidance