Hi,
In my view, with about 50 fields, I've defined the "full node" display and have configured the argument type for "csv file selector". I think that's the way to do it. In other views, with lists, that configuration works perfectly but in the full node view that I have, it returns a completely blank page. Nothing is downloaded. I see the view perfectly with all nodes displayed and the CSV button at the bottom but when I click it, the download is totally blank. Many different browsers (Firefox and Opera on a Mac and the Firefox variation on Linux) all show the same result.
I can't figure out what's wrong here. I do have a cck style done for the node but I have an if clause in that style page that prints the nodes out without styling (straight Drupal) for the specific page I'm downloading from. So I don't think that's the problem.
I started out with the alpha version and have graduated to the beta (latest version) just in case. Nothing changed. I also flushed my cache for views.
I don't see anybody else having this problem so I'm wondering what could be wrong. Does anyone have a suggestion? Or any place to "look" that might be causing the problem?
Thanks
Comments
Comment #1
jmcclelland commentedI think the problem is that, with views, if you choose full node display, you don't have to pick any fields to display in the view - the view simply shows all the fields for the given node your view is displaying. So - the $view->field is often empty with full node display views.
With the csv export - the only way it knows what fields to display is to see what fields you have chosen for the view (the $view->field variable). If that variable is empty, the csv export will be empty as well.
I think the work around is to define fields for your full node display view (even though they will be ignored for the actual view).
One fix would be for the csv export function to have a special condition: if the view type is full nodes and the $view->field array is empty, then use all fields defined for the content type specified by the view.
Comment #2
pomliane commentedThis version of Views Bonus Pack is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.