Community Documentation

Views PDF Gotchas

Last updated December 18, 2012. Created by texas-bronius on December 18, 2012.
Log in to edit this page.

The purpose of this handbook page is to augment Views PDF main documentation handbook page with a little troubleshooting and gotchas. These are gathered from comments, issue queue, and experimentation. Please feel free to add your own and remove them as the UI evolves!

Field Formatters

The documentation makes mention of Field Formatters. These are not found on the field settings itself but rather on the PDF Display Settings. Each field requires some basics, and at minimum the font size and position need to be set. For starters, why not "12" (without units) for size on each field. For unformatted, try "

Note that these field settings are separate for PDF as a Table and PDF Unformatted. Toggling back and forth between the two Display Styles seems to preserve per-field settings only from Table to Unformatted, not back again.

Missing Field Settings in TABLE Mode

It took several runs before I realized why my field labels were showing as table header but the fields' contents are not showing in the PDF formatted as a table for me. This may be particular to my set up or my theme, but what I saw was that in Table mode, each field, split between Header/Label/Title and Body/Content, is presented horizontally in the Views UI and must be horizontally scrolled to to see:
Screenshot showing VIews UI for Views PDF and needing to scroll right to see all fieldsScreenshot showing Chrome Inspector/Firebug and "nowrap" disabled

I hope this helps someone and doesn't come across as whining. It's a great module, and I'm enjoying adopting it.

Comments

Thanks

Thanks for it.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 7.x
Level
Beginner
Audience
Designers/themers, Site builders
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.