I noticed the usage of global fields such as user defined text and the counter is not working correctly on the pdf table view.
a) When used without further formating they crash the pdf output (Fatal error: Unsupported operand types in ~/development/sites/all/modules/views_pdf/views_pdf_template.php on line 589) There is a workaround for it, once you set a single text formating option such as bold or the font color, the pdf is generated without problem, but it is a bit confusing.
b) In case of the counter the view always returns 1. When I use the same settings on a normal page display, the rows are numbered correctly (1,2,3,...) but on the pdf something goes wrong.
I have been looking for a way to fix the later, but I am not entirely familiar with views or views pdf... if someone could give me a rought direction on where to correct this, it would be appreciated :)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Global_fields_not_working_correctly-1280394.patch | 498 bytes | bofrost |
Comments
Comment #1
sachbearbeiter commentedsub
Comment #2
bofrost commentedThis patch will fix this problem.
Have fun and please review...
Comment #3
bofrost commentedComment #4
bofrost commentedThe patch is applied to the dev version.
Comment #5.0
(not verified) commentedupdate: corrected spelling