This is a short instruction on how to import data in your ZOO extension using a CSV file.
Note You can only import data from elements of the type Text, Textarea, Email, Link, Date, Country, Gallery, Google Maps, Image and Download.
Note Applications use different field separators and the field enclosures for exporting to CSV files. Simply open your CSV file in a text editor and check the chars there.
Go to ZOO administration and click on the app you want to import data to.
Choose whether your CSV file contains column headers or not.
Type in the field separator and the field enclosure of the CSV file. In this example we import a CSV file created by MS Excel, so the field separator is ";" and there is no field enclosure.
In the next screen you have to assign the data in your CSV file to an item type of the app.
The newly imported items should appear unpublished in the item manager.
If you want to assign data to repeatable elements, you can simply assign multiple columns to the same element (e.g. Textareas).
If you want to import images you have to upload them to a folder in your Joomla installation (e.g. images/stories) and put the path to the image in the CSV file, e.g.
If you want to assign the imported items to more than one category, just create one column for each category in your CSV file and assign both columns to the same element (in this case "Category").
The CSV Importer will look for existing categories in your application, that have the same name and if found, will assign items to these categories. If there is no existing category, a new category will be created.
If you want to assign the item to a specific existing category, you can provide a category alias. Use three pipes to separate name and alias:
If you want to assign the item to a subcategory, you can separate a category tree through three slashes in the form:
If you want to update existing items, you'll have to map the ID field of your CSV data to the ID field of the chosen type. If an existing item by this ID is found in the application, the item is updated. Mapping ID to ignore will create new items, also if there is no item found by that ID in the current application.
If you want to see an example, use ZOO CSV Export feature and check the resulting CSV file.