Creating the template
A template can be created by following these steps:
- Go to Components -> CSVI Pro -> Templates
- Click New
- Give the template a name
- Set Action to Import
- Set Component to Joomla Users
- Set Operation to User Groups
- Click Next: Select Source
- Source is set default to Load from your computer. No need for change.
- Click Next: Select options
- The default values are OK, change if needed.
- Click Next: Select fields
- Nothing needed here as we set to Use column headers as configuration in step 10.
- Click Next: Finalize
- All done here
- Click Close to return to the list of templates or Edit if you want to fine-tune the template further.
Adding the template fields
Template fields can be added by following these steps:
- Go to Components -> CSVI Pro -> Templates
- Click on Template fields
- In the Search Tools select your template
- Click on New to add a single field or click on Quick Add to add multiple fields.
Quick Add
The Quick Add Option allows you to quickly add multiple fields to a template. It is not possible to set any settings per field here but that can be done after the fields have been added to the template.
Required fields
- title / title_path
Criteria
- title / title_path
Creating the import file
When importing a user group, the needed fields are either title or title_path. The field title is the unique name of the group. if the group has a parent group then it is needed to use parent_name field in import.
While with title_path field, parent group name can be used in path like for example Registered/Special Users where Registered is the parent group name and Special Users is the child group which goes under parent group Registered.
Run the import
The import can be run by following these steps:
- Go to Components -> CSVI Pro -> Import
- Select the template created earlier
- Click Select file
- Select the file to import
- Click Preview
- You now see a preview of the file as to how CSVI sees the file
- Click Start import
- The import is run
- The Log details page will be shown with information regarding the import if the Enable logging is enabled in the template
Examples
"title";"title_path"
"Special Users";"Registered/Special Users"
"Subscribers";"Registered/Subscribers"