For some reason when I've created a view with the CSV argument, the icons and link doesn't appear? The URL works fine and outputs the CSV file, but I don't see any icon or links to this URL? It seems like I got this working before, but I don't understand what's going on now? It doesn't appear in the exported view code either? Permissions are set correctly? Any ideas?

Comments

neclimdul’s picture

We run strip_tags on the output. I'm not 100% sure on the reasoning behind that though.

neclimdul’s picture

Version: 5.x-1.2-alpha1 » 5.x-1.x-dev

Actually, thinking on it some more I'm pretty sure the reasoning is that it was designed to be used for data export into spread sheets. Since the filters in drupal add wrapper divs, paragraphs tags and stuff like that that would generally be cumbersome in a spreed sheet, they are stripped out.

I you want to make a patch that uses the theme function option system the export module uses to toggle this functionality I'd be open to committing it as long as the default keeps the current functionality.

jenlampton’s picture

Title: View not displaying $links for CSV export? » View not displaying icon for CSV export?

I was having the same issue (not sure the two previous comments have anything to do with the issue?). My csv and doc icons are missing from the view.

In views_bonus_export_views_post_view() those icons are printed into a variable called $links - I'll change the issue title to be less confusing.

One thing I found: If you are upgrading from a previous version of views bonus pack there is now a permissions hook so make sure you have access to export.

Jen

pomliane’s picture

Status: Active » Closed (won't fix)

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