Hello,

I noticed that a separator can be chosen when using export to csv. Is there any way to have the separator be a tab so that the file is a tsv?

Thanks

Comments

patcon’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
StatusFileSize
new1.6 KB

Needed this myself, so threw together a simple fix based off the latest dev.

In the place where you'd enter the delimiter, just enter TAB and it will be converted. This is explained in the note below the field.

On a related note, I might suggest renaming this plugin to a "delimited file" format as opposed to straight up CSV. It struck me as unnecessarily ominous to emphasize how careful the user needed to be when not using commas as separators -- Most any spreadsheet processor can figure it out, so it's not like it's a big deal anyhow :)

patcon’s picture

Version: 6.x-1.x-dev » 6.x-1.1
Assigned: Unassigned » patcon
Status: Active » Needs review
StatusFileSize
new1.57 KB

And here's for the 1.1 release, just for good measure.

pnigro’s picture

Thank you so much. I will give it a try and let you know how it goes.

pebosi’s picture

Works as expected. Thanks

scarr’s picture

Also, I've copied and pasted an actual tab from a text editor (notepad++) and it works perfectly.

drummondf’s picture

wrong place to post this, i know, but i see this thread's pretty active - where in drupal do i find the export option once enabled? for some reason i absolutely cannot find it! thanks!

robit8deb’s picture

I installed this patch but the word TAB is just appearing when i export. What am i doing wrong? I see the patch in the module so i definitely patched correctly.

neclimdul’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)