Hi,

first of all, congratulations for that module!

I'm using tcpdf with this module, and I want to know:
- if it's possible to generate the PDF file from the node view against the node form.
- if it's possible to do the next things in the PDF: eliminate the node author, the date of node creation, and put the date of PDF creation. And show the title of taxonomy.

For example:
Node form:
Title
Description
Taxonomy
Start date
End date
Price

Node view:
Title
Description
Start date
End date
Price
Taxonomy

I want to generate the PDF from the view.

Thanks!

Comments

robertinop’s picture

Version: 6.x-1.10 » 6.x-1.x-dev

I would also like to be able to generate a PDF from a view; I am using Views 6.x-2.11. I have been testing the 6.x-1.x-dev (6/1/2010) version. Great work so far!

_snake_’s picture

Well, I'm trying to do my own template to pdf format using print.tpl.php as a guide.

I created a print_pdf.node-type_invoice.tpl.php file, is it correct?
I put that file in the theme folder.
I'm starting with that, so I'm commenting some lines of that template, but nothing happens...

Anyone knows or has any example of how to do that?

Thanks!

_snake_’s picture

Well,

maybe I found the solution...

I click on generate pdf, then it generates the pdf. So the pdf file is open. If I make changes on the template and then I generate the pdf, it shows the prevously version.

So, before you click on generate pdf file, you have to close all pdf files about the node nodes you have, and then click on generate pdf.

jcnventura’s picture

Status: Active » Closed (fixed)

It seems that you've correctly discovered how to use the print templates. I am closing this issue. Re-open it if there's still any question.