• Resolved Landon

    (@landonbotis)


    When I export as CSV it is separated out by pipe ( | ) instead of by comma ( , ) . Exporting by XLS works fine.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Landon

    (@landonbotis)

    So, I went ahead and changed line 282 in simple_csv_xls_exporter_csv_xls.php from:

    fputcsv($fh, $data, ‘|’);

    to:

    fputcsv($fh, $data, ‘,’);

    and it works great now.

    Plugin Author Shambix

    (@shambix)

    The pipe was chosen to avoid conflict in case of , in data (post content mostly).
    However I can see why being able to change it would be useful (without editing the code).
    I’ll work on that ??

    Plugin Author Shambix

    (@shambix)

    Added option in v.1.4.6!

    Thread Starter Landon

    (@landonbotis)

    Shambix,
    wow! That’s a great turn around. Good idea to add it as an option.

    Thanks a bunch! Loving the minimal feel of the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSV columns not working right’ is closed to new replies.