/ProcessJSONInstaller

Create ProcessWire pages, templates and fields from JSON files.

Primary LanguagePHP

JSON Installer

Module that can interpret JSON as ProcessWire fields, templates and pages. This is very useful for quick setup tasks.

Written by Pieter (@pieterbeulque) at We Work We Play.

Modules

The Config-installer runs when installing this module, for two reasons:

  1. To test if everything has been installed correctly; 2) Because other modules might use it to store some data.
  • Config: Creates page /config/
  • SEO: meta description field
  • Sharing: Facebook sharing options
  • Contact: contact form fields (name, email, message) + recipient field in config + importing FormTemplateProcessor
  • Under Construction: adds an Is Live-checkbox to the config. Creates a page_underconstruction template with an image field and a background-color field.