You are here

README.txt in Content Import 8

Same filename and directory in other branches
  1. 8.9 README.txt
  2. 8.3 README.txt
  3. 8.4 README.txt
SUMMARY - Content Import
========================
To import content for content type from CSV file

REQUIREMENTS
------------

This module requires the following:
A CSV file for content type to import.
The .csv file can have two or more columns,
eg:- title, machine_name1, machine_name2,machine_name3...
The first row should be machine name for the content type
and the following rows will be taken as data.
Refer the example given in the module folder CSV_article.csv file

INSTALLATION
-------------
Install this module as usual. Please see
http://drupal.org/documentation/install/modules-themes/modules-8

CONFIGURATION
-------------

After successfully installing the module contentimport, 
you can import data for the selected content type via 
file import.

Install the module contentimport.

Go to Configuration and select Content Import from 
Content Authoring.
 
It will redirect you to Content Import Form, with two 
fields: Content Type and Import file.

Select the Content Type, this will have all the content types
available in the application

Before choosing csv file, check weather the first row contains 
all the machine names from the content type

The file should be CSV file.

If the content type having image fields, upload all the images 
in public://<content_type>/images/ folder before importing 
the CSV file(IMCE module will be helpful for this)

Put the image name in the respective image column.

Field Mapping:
=============

For Image field - upload all the images 
	in public://<content_type>/images/ folder before importing 
	the CSV file(IMCE module will be helpful for this).

For Entity Reference field(Taxonomy) - put the data as Vocabulary: term1, term2
	If the Vocabulary or Term is not exists it will create automatically.

For Entity Reference field(Users) - put the user's email address comma seperated
	If the User is not exists it will create automatically.

For Boolean field - Put On/Yes to check the field and Off/No to uncheck the field.

For Date field - Put the data in m/d/Y h:m:i format

For Timestamp field - Put the timestamp, the system will convert and store the date.

Check the attached CSV file for Sample.

Click on Import which redirects you to admin/content

File

README.txt
View source
  1. SUMMARY - Content Import
  2. ========================
  3. To import content for content type from CSV file
  4. REQUIREMENTS
  5. ------------
  6. This module requires the following:
  7. A CSV file for content type to import.
  8. The .csv file can have two or more columns,
  9. eg:- title, machine_name1, machine_name2,machine_name3...
  10. The first row should be machine name for the content type
  11. and the following rows will be taken as data.
  12. Refer the example given in the module folder CSV_article.csv file
  13. INSTALLATION
  14. -------------
  15. Install this module as usual. Please see
  16. http://drupal.org/documentation/install/modules-themes/modules-8
  17. CONFIGURATION
  18. -------------
  19. After successfully installing the module contentimport,
  20. you can import data for the selected content type via
  21. file import.
  22. Install the module contentimport.
  23. Go to Configuration and select Content Import from
  24. Content Authoring.
  25. It will redirect you to Content Import Form, with two
  26. fields: Content Type and Import file.
  27. Select the Content Type, this will have all the content types
  28. available in the application
  29. Before choosing csv file, check weather the first row contains
  30. all the machine names from the content type
  31. The file should be CSV file.
  32. If the content type having image fields, upload all the images
  33. in public:///images/ folder before importing
  34. the CSV file(IMCE module will be helpful for this)
  35. Put the image name in the respective image column.
  36. Field Mapping:
  37. =============
  38. For Image field - upload all the images
  39. in public:///images/ folder before importing
  40. the CSV file(IMCE module will be helpful for this).
  41. For Entity Reference field(Taxonomy) - put the data as Vocabulary: term1, term2
  42. If the Vocabulary or Term is not exists it will create automatically.
  43. For Entity Reference field(Users) - put the user's email address comma seperated
  44. If the User is not exists it will create automatically.
  45. For Boolean field - Put On/Yes to check the field and Off/No to uncheck the field.
  46. For Date field - Put the data in m/d/Y h:m:i format
  47. For Timestamp field - Put the timestamp, the system will convert and store the date.
  48. Check the attached CSV file for Sample.
  49. Click on Import which redirects you to admin/content