piotr-cz/cockpit-import

Spreadsheet import module for Cockpit CMS

Installs: 46

Dependents: 0

Suggesters: 0

Security: 0

Stars: 22

Watchers: 5

Forks: 4

Open Issues: 2

Language:JavaScript

Type:cockpit-module

v1.1.3 2016-09-09 10:13 UTC

README

Module for importing spreadsheet as collection entries in Cockpit CMS

Features

  • Import from CSV files or JSON files (generated by Cockpit collection export functionality)
  • Localization
  • Auto-assign fields based on header (Column names must match collection field names)
  • Filters
    • Text
    • Select
    • Boolean
    • Lookup entry matching Name (for field type link-collection, useful for setting up categories) For multiple collection links, use Vertical bar | as a separator. Collection must have field named name
    • Location (Geolocate addresses)

Requirements

Installation

Manual

  1. Download latest release and place in [cockpit-path]/modules/addons/Import or

    cd [cockpit-path]/modules/addons
    git clone https://github.com/piotr-cz/cockpit-import Import
  2. Open cockpit backend.

  3. In top-right corner you'll see Import button.

Using composer

  1. In composer.json add path where cockpit modules are located:

    "extra": {
        "installer-paths": {
            "cockpit/modules/addons/{$name}": ["type:cockpit-module"]
        }
    },
  2. Install module using command

    composer require piotr-cz/cockpit-import

Usage

  1. Select collection and file

    Parsing

  2. Map collection fields to spreadsheet columns

    Data mapping

  3. Tune up processing options and click Import

    Processing

Authors

3p libraries

Issues/ Feature requirements

Submit issue or feature requirement here

Latest development version

Licensed under MIT License