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

castawaybcn’s picture

Same here.
@El Bandito, did you find a way to output the labels?

alibama’s picture

ditto - tried using the output php fields and got no results either ie echo aloha; = no go

dalearyous’s picture

also interested in a solution

misthero’s picture

any solution to this?

blattmann’s picture

I am very keen on a solution for this as well.

darrellduane’s picture

So I've found a way to work around this issue.

In the PHP Code Before Output section, for example, put this code in:

 $content = "<i>Your field name goes here: </i>" . $content;   // The content of the field

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.

simon georges’s picture

Status: Active » Closed (won't fix)

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