Skip to content

Being able to set a separator for CSV import

edited May 2015 in Questions

I want to send an email via Sendy to people who have access to projects in deleted accounts. Some people have access for more than one project and some project names have comma in their name.

So I query database and generate a file , which I will use to import to Sendy where I will add custom field called 'projects'
Igor|igor@freedcamp.com|'Project with , comma', 'Another project'

So my question is - where I can change Sendy code to use | as a separator instead of comma?

This BTW will be truly awesome improvement - if during import you show me an INPUT with ',' where I can change with whatever character I want to use as a separator. This will allow custom list import with commas inside (unless it is possible and I missed it).

Comments

  • BenBen
    edited May 2015

    Hi,

    If you setup a cron job for CSV import, the script is import-csv.php (line 111).

    Otherwise it's includes/import-update.php (line 13).

    Thanks.

    Best regards,
    Ben

This discussion has been closed.