Closed (won't fix)
Project:
Views PDF
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2012 at 11:37 UTC
Updated:
7 Mar 2013 at 19:02 UTC
I am using the PDF Unformatted style. My View's fields have labels specified ( I've tried using both "Widget label" and "custom" labels ) but the PDF doesn't include them when outputting the field.
Is this by design ? I guess I can work around it by rewriting the field in Views or prefixing the $content variable in the row style setting, but this seems contrary to the idea of just using the power of Views to create the output.
Any thoughts appreciated.
Comments
Comment #1
castawaybcn commentedSame here.
@El Bandito, did you find a way to output the labels?
Comment #2
alibama commentedditto - tried using the output php fields and got no results either ie
echo aloha;= no goComment #3
dalearyous commentedalso interested in a solution
Comment #4
misthero commentedany solution to this?
Comment #5
blattmann commentedI am very keen on a solution for this as well.
Comment #6
darrellduane commentedSo I've found a way to work around this issue.
In the PHP Code Before Output section, for example, put this code in:
Its not the most convenient way to do it, but it works. Perhaps someday someone can write a patch that will allow for the field name to be included (or not included), as needed. @El Bandito, I am guessing that this is by design so as to allow easier enhanced formatting of the label.
Comment #7
simon georges commentedI apologize, the 6.x version is not maintained any more. This issue is close for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.