hello :)

thanks a lot for this module.
i wouldnt have been able to make use of the views pdf module without this module :)
i have to make a very complicated pdf (for my level) with many exceptions and i have 16 fields of global php.
now that i am at the last one, for me it is confusing to know which of the globals that i have already is the one that i want... so i thought that it must not be much work for you that, besides to write "Gobal PHP", you could put the title of the field... :)

i put some of my avaible variables for trying to make myself to explain better.

Available variables

* $view: The view object.
* $handler: The handler object.
* $static: A variable that can be used to store reusable data per row.
* $row: Contains the normalized record with consistent field name (e.g. $row->title).
* $row->nid: Nodo: Nid
* $row->name: Taxonomía: Término
* $row->type: Nodo: Tipo
* $row->title: Nodo: Título
* $row->field_subtitulo_value: Contenido: Subtítulo (field_subtitulo)
* $row->field_autor_value: Contenido: Autor (field_autor)
* $row->body: Nodo: Cuerpo
* $row->field_ano_value: Contenido: Año (field_ano)
* $row->field_mes_value: Contenido: Mes (field_mes)
* $row->field_dia_value: Contenido: Día (field_dia)
* $row->name_1: Taxonomía: Nombre del vocabulario
* $row->php: Global: PHP //here is where i mean that it would be nice to get the name
* $row->php_1: Global: PHP //here is where i mean that it would be nice to get the name
* $row->php_6: Global: PHP //here is where i mean that it would be nice to get the name
* $row->php_7: Global: PHP //here is where i mean that it would be nice to get the name
* $row->php_8: Global: PHP //here is where i mean that it would be nice to get the name

i have also a question about the relation of this module and the pdf view.
in the view pdf module, if you get a normal view field empty and it is checked as hide if empty, the module doesnt create a cell for it.
but with your fields, even if i checked and they are empty, they create a cell.
any tip?
i ask to report in the views pdf module since this makes more laborious to work with both modules.

and... for not opening other issue... the last question :)

i only use the "Output code" field. i undertand the "Setup code" and "Click sort code". but i dont get the difference between the "Value code" and the "Output code". is only for organization or it has another intention?

thanks thanks a lot :)
views is different for me since i started with vbo and this!

Comments

infojunkie’s picture

Title: Avaible variables: add the title of the tag » Available variables: show the field label

Thanks for the feature request - it makes sense.

Regarding the "Output code", it is used to render the value that was computed in "Value code". For example, your value is a float value representing a money amount, so you use the output code to format it as a currency.

Regarding the Views PDF issue, I'm afraid I don't understand what you mean. What is the scenario and what do you expect that is not happening?

In general, it is better to open one issue per question/bug report as it allows us to track each conversation separately.

candelas’s picture

thanks a lot for the explanations :)

the programmer for views pdf, who is working very hard, has make a new release so i go to try it this weekend.
it is in dev stage this module, so maybe it is solved.
if not, i will report there and make also an issue here with a link to it.

since i think both modules together implement a feature that it can be very useful in drupal as for using the same url for pdf (node/$nid/pdf) to diferent content types with one template in views. in the background you can have images, break pages, attach first and last page, and more...
if anybody is interested, i am showing my problems and solutions in here
http://drupal.org/node/1170476

infojunkie’s picture

Status: Active » Fixed
candelas’s picture

thanks, thurday that i will have time, i will download :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.