About Automatic Export and Automatable Import for Templates and Fields
AutoExportTemplatesAndFields module for ProcessWire
|Category 1||Development Tools|
Modules that have more to do with assisting development of a site rather than managing its content.
Modules that work with importing or exporting data.
Close to stable, but users are advised to be cautious and test thoroughly.*
|Compatibility||2.6, 2.7, 3.0|
|Date Added||July 12, 2016|
|Last Updated||September 7, 2016|
This module's files should be placed in /site/modules/AutoExportTemplatesAndFields/
How to install or uninstall modules
CAUTION: This module is not compatible with repeater fields or ProFields. See BUGS.
To install this module manually, simply put it into the site/modules directoryof your ProcessWire installation, so that directory should look like this:
site/modules/ AutoExportTemplatesAndFields/ AutoExportTemplatesAndFields.module cli/ import.php ...
After installing the module, all changes to fields and templates areautomatically exported after the respective request to the directory specified via the module's persistDirectory setting.
In order to facilitate executing the import as part of an automated process, ithas been implemented as a command line application and can be called as
follows (assuming the php executable can be called as
php and the workingdirectory is the root of the ProcessWire installation):
php site\modules\AutoExportTemplatesAndFields\cli\import.php --import
The import automatically creates a database backup which can be restored using:
php site\modules\AutoExportTemplatesAndFields\cli\import.php --restore <path>
- (#1) This module is not compatible with repeater fields or ProFields. See this forum thread:
The BreakRepeaterFields module is included in the repository as a minimal showcase of what is breaking the repeater fields.
I am looking forward to hearing from you: Contact me email@example.com for any issues or suggestions regarding this moduleor just drop an issue on github:
No comments yet. Be the first to post!
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.