I'm using this module combined with views_customfield.
When I try to export to csv a view, I get all the values, except the ones created with views_customfield module, called Customfield: PHP code
I've tried to debug the process of exporting to cvs and it seems that only exports values that are stored in the database: only the values extracted from queries are shown in the cvs file.
The problem it is not the tpl file used to format the output, because if I print there the values of the array $data using var_export($data, TRUE), the field that I want it's not there.
If I use the views_bonus module, I get the php code customfields printing $output in the tpl file.
Comments
Comment #1
gabrielu commentedThis issue is also present in the 7.x branch.
Any news about this?
Comment #2
gabrielu commentedAlso see related issue. Not sure yet who is responsible http://drupal.org/node/1088776#comment-5213160
Comment #3
jvieille commentedI got that module to work with Views Customfield
- with the stable release, just copy the customfield field token into a "Global text" field
- with the dev, you need to remove the pre-render() function and put its code in the render() function (changing $results by $values from the argument):
in views_customfield_handler_field_phpcode.inc
Comment #4
greggadsdon commentedAs Drupal 6 nears the end of its life and support period, the 6.x version of Views Data Export will not be supported either. To that end, this issue has been closed, and will not be resolved in the 6.x branch of Views Data Export.
If this issue is still relevant to 7.x branch of Views Data Export, then please re-open and move to a relevant 7.x version.