Closed (works as designed)
Project:
Views PDF
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2011 at 17:18 UTC
Updated:
11 Jul 2013 at 14:13 UTC
Hello.
Just 3 months I've been using Drupal and I have a question about this module. Do not know how to use templates, because I use a template in the Template PDF option, not Leading PDF Template or Succeed PDF Template, but the results are overwritten on the template. I attach a file.
In addition I have also tried to modify the template views-pdf--xxx-tpl.php , where xxx is the name of the view, and not getting results.
Hope you can help me. Thanks in advance
| Comment | File | Size | Author |
|---|---|---|---|
| vista_matricula.pdf | 194.45 KB | vranjes6 |
Comments
Comment #1
hunziker commentedFirst of all the "views-pdf--xxx-tpl.php" has no effect, because we skipped them. The generating of PDF's can not be done as HTML.
You should define the margin from the left and top corner. This can be done in the PDF Table Settings. Go to: View > Open your View > Go to the PDF Display > Open the table options / settings > Scroll down > Set margins / positions.
Comment #2
vranjes6 commentedFixed!!
ok thanks a lot!!
Comment #3
hunziker commentedComment #4
hash6 commentedHello.
I get the pdf properly using views pdf.The problem is I am unable to assign border to the table.I tried writing "$border= 1" in the
View > Open your View > Go to the PDF Display > Open the table options / settings -> Render settings(for each field).
What should I write inside PHP Code Before Output so that I can add border to it.
Comment #5
killua99 commentedClosed. Reopen if you still trying to do this. And bring more information or a image to explain you case.