:)
i have been trying to find a solution to a bug in this module
http://drupal.org/node/1226980
it was dificult to me because i know little php.
today that i wasnt tired i found a way to be able to write the page number in each page and without extrapages.
it was easier than i thought.
though, i hope hunziker implements a solution, but while then, i can use this module hacked :)
bad for new releases, but enough for having holidays!!!
if someone needs to do it, in views_pdf_template.php, line 152: (there is a similar one for header)
/**
* This method must be overriden, in the other case, some
* output is printed to the footer.
*/
function Footer() {
$this->SetY(-22);
$this->SetX(-20);
$this->SetFont(PDF_FONT_NAME_MAIN, '', 12);
$this->Cell(0, 10, $this->getAliasNumPage(), 0, false, 'C');
}
Comments
Comment #1
Makku01 commentedwhat about adding field values? This solution in general works for me but i cannot print values containing HTML. Also I have several views with different footers. So this solution is not practicable!
Please, does anyone hav a solution for this?