https://github.com/backdrop-contrib/rules_cmi
Stores Rules configurations in json config files for Backdrop CMS
https://github.com/backdrop-contrib/rules_cmi
backdrop backdropcms cms
Last synced: 8 months ago
JSON representation
Stores Rules configurations in json config files for Backdrop CMS
- Host: GitHub
- URL: https://github.com/backdrop-contrib/rules_cmi
- Owner: backdrop-contrib
- License: gpl-2.0
- Created: 2024-06-20T16:34:30.000Z (about 2 years ago)
- Default Branch: 1.x-1.x
- Last Pushed: 2024-09-18T14:55:40.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T05:28:10.553Z (about 1 year ago)
- Topics: backdrop, backdropcms, cms
- Language: PHP
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rules CMI Storage
An EXPERIMENTAL module that changes the storage of Rules from database tables to configuration CMI
JSON files. This means you can export/import Rules the same way you export/import other
configuration files: through the Configuration Manager in the admin menu.
## How to use
- Enable the module
- By default, this modules does NOT enable CMI storage. You need to manually enable CMI storage by visiting the configuration page at `admin/config/workflow/Rules_cmi`
- If you had Rules stored in the database, you can transfer them to CMI at the module's configuration page
- Create and save, or edit existing Rules as normal
- To export Rules as CMI json code, head to Backdrop's Configuration Manager at `admin/config/development/configuration/single/export`. You can still export Rules the "old way" from the UI, but those exports will not be CMI json code (they will still work to import)
### What this module can do at this point
- Save new Rules as CMI json files, meaning you can import/export them as other config files
- Edit and update Rules that have been created AFTER this module was enabled
- Delete Rules
- Clone Rules
- Use the UI operation dropbutton to go to Configuration Manager to export the Rule CMI
- Import Rules exported as CMI (through Configuration Manager)
- Import Rules exported through the Rules UI (non-CMI json code)
- Search Rules by tags and events
- Transfer Rules from CMI storage to database storage and vice versa
### What this module can't yet do
- Autocompleting rule tags doesn't yet work
## Credits
- Created and maintained by [argiepiano](https://github.com/argiepiano)
## License
This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.