CSVI is a versatile management tool for importing all kinds of data into many different extensions.
IMPORT AND EXPORT INTO AND FROM JOOMLA! 3 HAS NEVER BEEN SO FAST
CSV Improved enables you can import and export data into and from different Joomla! components.
Every component features its own import and export types to allow control over every part of the component.
Using a system that works based on a set of pre-defined fields you can match your fields with the CSV Improved fields to ensure a correct import. This way you can import all kinds of files from different kinds of sources,
for example from your supplier.
Using the same set of pre-defined fields you can set your own export fields to export for an accounting package, order list, order picking list and many other uses.
- CSVI 4.0+ / CSVI Pro 4.0+
An override is where you create your own routine and place it in a specific folder for CSVI to use. This way you can add or modify the behavior of CSVI when importing or exporting to suit your own needs. The override system allows for great flexibility so you can write your own import/export routines and not having to worry that by updating CSVI your changes are lost.
Creating an override routine
The default location for import routines is administrator/components/com_csvi/models/<component>/import and for export routines administrator/components/com_csvi/models/<component>/export
The problem with having your modification in the CSVI folder is, when you update CSVI your modification is lost. Instead of putting your modification directly in the CSVI folder you can put it in your template folder.
The import routine overrides are located in the folder:
The export routine overrides are located in the folder:
This refers to the administrator template e.g. khepri
This refers to the component you are doing the import or export for e.g. com_virtuemart
The default administrator template in Joomla is khepri, so the location of the import routines for VirtueMart becomes:
The default administrator template in Joomla is khepri, so the location of the export routines for VirtueMart becomes:
To use the override feature take the following steps:
- Copy the import routine you want to modify to the override folder e.g. You can copy the administrator/components/com_csvi/models/com_virtuemart/import/productimport.php to administrator/templates/khepri/html/com_csvi/models/com_virtuemart/import/productimport.php
- Modify the productimport.php file that has been copied to the override folder to your needs
- Perform the import
You can follow the same steps for export by changing the folder import to export.