I have a feeling this doesn't work because the views_bonus_plugin_style_export_csv::attach_to() function body is commented out. But it would be nice for this to be able to export just the results in the current view with exposed filters taken into account and such.

Comments

drewish’s picture

subscribing

webchick’s picture

Status: Active » Needs work
StatusFileSize
new1.21 KB

Well. In the "I have no idea what I'm doing but this fixes it" realm, copy/pasting the attach_to function from views_bonus_plugin_style_export.inc nicely solves the problem, although it's an RSS feed icon so kind of silly. ;P

Is there a universal "CSV" icon? An accountant snoozing on a desk, perhaps?

webchick’s picture

Status: Needs work » Needs review
StatusFileSize
new875 bytes

And here's one that's actually sane. :) It just adds a "CSV download" link to the bottom of the view.

webchick’s picture

Category: feature » bug
Priority: Normal » Critical

And actually, I'm going to change this status to a critical bug since it seems like a serious oversight. Without this, the only way to add the CSV download link to your view is to put it in the footer text or something which is just silly.

neclimdul’s picture

Status: Needs review » Fixed

Commited a modified version of this. Moved this function to parent class, fixed parent export class, and implemented attaching with images across all plugins with the old bonus pack images. :)

http://drupal.org/cvs?commit=157335

Status: Fixed » Closed (fixed)

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