hryvinskyi / magento2-configuration-fields
N/A
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:magento2-module
Requires
- magento/framework: *
- magento/module-backend: *
- magento/module-config: *
- magento/module-store: *
Suggests
README
A Magento 2 module that provides enhanced UI elements for the Stores > Configuration section, including a user-friendly cron expression editor field.
Features
- Cron Expression Editor: Interactive, validated, and human-readable cron field for system configuration.
- Catalog Category Selector: A custom field type for selecting categories in the system configuration.
- Modern UI/UX with real-time validation and summary.
Installation
Via Composer
composer require hryvinskyi/magento2-configuration-fields bin/magento module:enable Hryvinskyi_ConfigurationFields bin/magento setup:upgrade
Manual Installation
- Copy the module to
app/code/Hryvinskyi/ConfigurationFields
. - Run the following Magento CLI commands:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush
How It Works
- The module adds a new system configuration field type that renders a cron editor UI.
- The editor provides validation, error highlighting, and a summary of the cron schedule.
- The value is stored as a standard cron expression string.
Example system.xml Usage
<field id="expression" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Cron Expression</label> <frontend_model>Hryvinskyi\ConfigurationFields\Block\Adminhtml\System\Config\Form\Field\CronEditor</frontend_model> </field> <field id="category" translate="label" type="multiselect" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Categories Multiselect</label> <frontend_model>Hryvinskyi\ConfigurationFields\Block\Adminhtml\System\Config\Form\Field\UiSelect</frontend_model> </field> <field id="category" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Categories Select</label> <frontend_model>Hryvinskyi\ConfigurationFields\Block\Adminhtml\System\Config\Form\Field\UiSelect</frontend_model> </field>
Screenshots
Support
For issues, questions or contributions, please contact the author or create an issue in the GitHub repository.
Author
- Volodymyr Hryvinskyi
- Email: volodymyr@hryvinskyi.com
- GitHub: https://github.com/hryvinskyi
License
This project is licensed under the MIT License.