Difference between revisions of "Import Groups From CSV"

(Requirements)
Line 9: Line 9:
 
Obligatory columns are:
 
Obligatory columns are:
  
- name - group name
+
* '''name''' - group name.
- privacy - group privacy, where 0 = open, 1 = closed
+
* '''privacy''' - group privacy, where '''0''' is open group while '''1''' is closed group.
- short description - short group description
+
* '''short description''' - short group description.
- full description - full group description
+
* '''full description''' - full group description.
- category id - category ID to which group should be assigned
+
* '''category id''' - category ID to which group should be assigned.
  
 
An example of CSV file can be seen [https://drive.google.com/file/d/0BznGoCwkCWFXeU5QNVE3bVlSZEE/view?usp=sharing here]
 
An example of CSV file can be seen [https://drive.google.com/file/d/0BznGoCwkCWFXeU5QNVE3bVlSZEE/view?usp=sharing here]

Revision as of 02:47, 10 March 2016

From JomSocial 4.1.3

Overview

This is useful feature when you need to create a lot of predefined groups. In that case all you need is to create CSV file.

Requirements

Obligatory columns are:

  • name - group name.
  • privacy - group privacy, where 0 is open group while 1 is closed group.
  • short description - short group description.
  • full description - full group description.
  • category id - category ID to which group should be assigned.

An example of CSV file can be seen here

Import

1. Browse to Backend -> Components -> JomSocial -> Groups -> View groups

2. Click "Import groups from .CSV"

Oc6hmvw.png

3. Click "Browse" button and locate file on your hard drive, confirm your choice.

RvmcXpz.png

4. Click "Import groups" button.

68bksNs.png

File should be uploaded and groups created.