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

Files: 
CommentFileSizeAuthor
vista_matricula.pdf194.45 KBvranjes6

Comments

hunziker’s picture

First 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.

vranjes6’s picture

Fixed!!
ok thanks a lot!!

hunziker’s picture

Status:Active» Closed (fixed)
hash6’s picture

Version:6.x-1.0» 7.x-1.0
Component:Miscellaneous» Code
Status:Closed (fixed)» Active

Hello.

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.

killua99’s picture

Version:7.x-1.0» 7.x-1.x-dev
Component:Code» Miscellaneous
Priority:Normal» Minor
Status:Active» Closed (works as designed)

Closed. Reopen if you still trying to do this. And bring more information or a image to explain you case.