ImportPagesCSV by Ryan Cramer

Enables you to import CSV files to create pages.

ImportPagesCSV
==============

This is a ProcessWire module that enables you to import CSV files to create pages
or modify existing pages. The module requires ProcessWire 3.0.123 or newer.
This is an admin/development tool that is recommended only for use by the
superuser or developer.

The following Fieldtypes are supported for importing, as well as most types
derived from them:

- Checkbox
- Datetime
- Email
- File
- Float
- Image
- Integer
- Options
- Page
- PageTitle
- Text
- Textarea
- URL

To install:

1. Place the file ImportPagesCSV.module in a /site/modules/ImportPagesCSV/ directory.
2. In ProcessWire admin, click to 'Modules' and 'Check for new modules'.
3. Click 'install next to the 'Import Pages CSV' module (under heading 'Import').

Once installed, the module can be found on your admin Setup menu under the title "Import
Pages CSV".

Importing file/image fields
---------------------------
CSV column should contain full URL (or diskpath and filename) to the file you want to import.
For fields that support multiple files, place each filename or URL on its own line, OR separate
them by | (pipe) OR tab.

Importing page reference fields
-------------------------------
For single-value page fields the CSV imported value can be the page id, path, title, or name.
For multi-value page fields, the value can be the same but multiple-values should be separated by
either a newline in the column, or a pipe "|" character. Please make sure that your Page reference
field has one or more pages selected for the "Parent" setting on the Details tab. If you want the
import to be able to create paes, there must also be a single Template selected on the "Template"
setting.


---
Copyright 2011-2020 by Ryan Cramer for ProcessWire

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • There’s a new modules directory on the ProcessWire site now up and running. In this post we’ll cover a few details about what’s changed and what’s new—More
    20 November 2020
  • ProcessWire 3.0.168 core updates — More
    26 October 2020
  • This week a 2nd new module for processing Stripe payments has been added to FormBuilder. Unlike our other Stripe Inputfield, this new one supports 3D Secure (SCA) payments. We’ll take a closer look at it in this post, plus a live demo— More
    16 October 2020

Latest news

  • ProcessWire Weekly #342
    In the 342nd issue of ProcessWire Weekly we're going to check out brand new admin theme called Admin Theme Canvas, a new module called MatomoWire, latest ProcessWire core updates, and more. Read on!
    Weekly.pw / 28 November 2020
  • New ProcessWire modules directory
    There’s a new modules directory on the ProcessWire site now up and running. In this post we’ll cover a few details about what’s changed and what’s new.
    Blog / 20 November 2020
  • Subscribe to weekly ProcessWire news

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits