Have Rewritten this usefull module for me and for everbody, who wants to use it.
module:fast_content_csv
Rewritten by Bruno
b.perner@gmx.deFirst Release by SamZ
samz@fromru.comv.05
Module to import data from csv files
1. Upload the files in /assets/modules
1. Save this code as a new module with name fast_content_csv
2. Copy csv files to your /assets/files/folder
3. Start the module
4. Than just insert parent id and defaults in default.csv (you can do it in the module) and save it
5. Choose the source-file and the template, if not in default.csv or your csv-file from dropdown
6. Push the Button Get Fields
7. In the next form choose the fields you want to insert or update, if not autodetected or choose ----empty if you not want to update this field
8. Make sure to choose update or insert and you are not in Testmode (checkbox) and pusch RUN
TIP: You can generate CSV-files from documents and its TVs easy with Ditto
##################################
changelog:
#
Release v05 Bruno
b.perner@gmx.deNew:
fast_content_csv.class.inc.php
autodetect fieldnames for docs and TVs from first line
drop-downs to set fields manually
drop-down for csv-files and templates
use defaults from default.csv
change and save values of defaults.csv directly in the module
update docs and TVs from csv with given docid
and some little features more.
#
Release v035 by SamZ
samz@fromru.com###################################
*/
You can download my version here: http://modxcms.com/forums/index.php/topic,29616.msg180038.html#msg180038