CSV import to respect linebreaks
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
CSV import to respect linebreaks
Hi all,
I needed to preserve linebreaks in text columns of an import CSV and wrote a little Converter for that purpose. No big hit but maybe someone needs it too: https://gist.github.com/boettner-it/110 ... edf46965fb
Place it in: typo3conf/ext/youraimeosext/Resources/Private/Extensions/youraimeosext/lib/custom/src/MW/Convert/Text/Nl2Br.php
Replace "youraimeosext" with the name of your extension.
Best
Robert.
Keywords for forum search because I couldn´t find anything:
linebreak, newline, linefeed, carriage return
I needed to preserve linebreaks in text columns of an import CSV and wrote a little Converter for that purpose. No big hit but maybe someone needs it too: https://gist.github.com/boettner-it/110 ... edf46965fb
Place it in: typo3conf/ext/youraimeosext/Resources/Private/Extensions/youraimeosext/lib/custom/src/MW/Convert/Text/Nl2Br.php
Replace "youraimeosext" with the name of your extension.
Best
Robert.
Keywords for forum search because I couldn´t find anything:
linebreak, newline, linefeed, carriage return