About Range Slider
Simple jQuery UI integer range slider that can be configured.
|Category 1||Field Types|
Fieldtype modules that represent a data type used by fields.
|Category 2||Input Fields|
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Should be safe for use in production environments. *
|Compatibility||2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7|
|Date Added||July 24, 2012|
This module's files should be placed in /site/modules/FieldtypeRangeSlider/
How to install or uninstall modules
Forum thread: RangeSlider Thread
This fieldtype let's you create slider input fields in the adminusing the built in jQuery UI Slider. You can use it as a regular single value slider, or enable range which gives you two number.
If used as single value slider
If ranged slider is enabled
With a regular single value slider
If range slider is enabled
- range enable
- width of slider (%)
- min value
- max value
- default value
- prefix for displayed value(s)
- suffix for displayed value(s)
Download and place the FieldtypeRangeSlider folder in:/site/modules/
In the admin control panel, go to Modules. At the bottom of thescreen, click the "Check for New Modules" button.
Now scroll to the RangeSlider Fieldtype module and click "Install".
Create a new Field with the new "RangeSlider" Fieldtype. Once savedyou can configure the fieldtype, with various options under "Details" tab.
from 1.0.3 to 1.0.4
Value type of the field has changed from RangeSlider object to array. This only affects how you would set values to the field or inputfield from the API. So if you used RangeSlider previous 1.0.4 and have custom code to modify values via API, either in modules or template files, you should modify it to account for the changes.
$page->of(false); $page->myslider->min = 42; $page->myrange->min = 10; $page->myrange->max = 40;
$page->of(false); $page->myslider = array('min' => 91); $page->myrange->min = array('min' => 10); $page->myrange->max = array('max' => 40);
Accessing the value hasn't changed and is still the same as in prior versions.
- 1.0.4 : Changed value type from RangeSlider object to array. Updated Inputfield to make it work as module config field (where Fieldtype isn't used).
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.