Jump to content

ProcessQuickToggle


dadish
 Share

Recommended Posts

Quickly toggle your checkboxes with extra action buttons via AJAX.
 
The module adds functionality to InputfieldCheckbox so you can toggle the checkbox fields in the extra action buttons intruduced in ProcessWire 2.6.5 via AJAX.
 
 
Requirements
This module works only for ProcessWire versions later than 2.6.5.
 
How to Install
1. Copy the files to /site/modules/ProcessQuickToggle/ 
 
2. In your admin, go to Modules > Refresh for new modules. 
 
3. Click the "Install" button next to "Process Quick Toggle".
 
Usage
Go to any checkbox field you want to enable quick toggle feature for. Setup > Fields > my_checkbox_field. There in the Input tab you should see an Enable Quick Toggle field. After you check it you will see some fields that you can fill based on your needs.
 
settings.png
 
Then save the field. Now there should be an extra button for every page that has this field in the Pages tree.
 
list.png
 
list_action.png
 
Features 
  • Supports template contexts.
  • Supports core FontAwesome icons.

Any kind of feedback is appreciated. 

  • Like 15
Link to comment
Share on other sites

Made a little patch (0.1.1). Now it checks if the field is editable and if the page is locked before showing you the button.

I was about to submit the module into Modules directory, but then I encountered the ProcessWire version compatibility field. The highest option is 2.6 and this module supports only 2.6.5 and higher.

Can anybody confirm that I wont be able to publish it until 2.7 ?

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...