Skip to content

Commit

Permalink
added link to forum thread
Browse files Browse the repository at this point in the history
  • Loading branch information
somatonic committed Jul 24, 2012
1 parent d690e97 commit 4b91c20
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions InputfieldRangeSlider.module
Expand Up @@ -20,6 +20,7 @@ class InputfieldRangeSlider extends Inputfield {
'title' => __('Integer Range Slider', __FILE__), // Module Title 'title' => __('Integer Range Slider', __FILE__), // Module Title
'summary' => __('Simple jQuery UI integer range slider that can be configured.', __FILE__), // Module Summary 'summary' => __('Simple jQuery UI integer range slider that can be configured.', __FILE__), // Module Summary
'version' => 101, 'version' => 101,
'href' => 'http://processwire.com/talk/topic/972-jquery-ui-range-slider-fieldtype/page__hl__rangeslider',
'requires' => array("FieldtypeRangeSlider") 'requires' => array("FieldtypeRangeSlider")
); );
} }
Expand Down
11 changes: 7 additions & 4 deletions README.txt
Expand Up @@ -2,16 +2,19 @@
RangeSlider module for ProcessWire 2 RangeSlider module for ProcessWire 2
========================================================================= =========================================================================


Forum thread
http://processwire.com/talk/topic/972-jquery-ui-range-slider-fieldtype/page__hl__rangeslider

WHAT IT DOES WHAT IT DOES
------------ ------------


This fieldtype let's you create slider input fields in the admin This fieldtype let's you create slider input fields in the admin
using the built in jQuery UI Slider. You can use it as a regular using the built in jQuery UI Slider. You can use it as a regular
single value slider, or enable range which gives you two number. single value slider, or enable range which gives you two number.


In the template you can use the field as follows: In the template you can use the field as follows:


If used as single value slider If used as single value slider
echo $page->fieldname echo $page->fieldname


If ranged slider is enabled If ranged slider is enabled
Expand All @@ -27,7 +30,7 @@ If range slider is enabled
$pages->find("range.min>=100, range.max<120"); $pages->find("range.min>=100, range.max<120");




It comes with various settings. It comes with various settings.


- range enable - range enable
- width of slider (%) - width of slider (%)
Expand All @@ -47,7 +50,7 @@ HOW TO INSTALL
/site/modules/ /site/modules/


2. In the admin control panel, go to Modules. At the bottom of the 2. In the admin control panel, go to Modules. At the bottom of the
screen, click the "Check for New Modules" button. screen, click the "Check for New Modules" button.


3. Now scroll to the RangeSlider Fieldtype module and click "Install". 3. Now scroll to the RangeSlider Fieldtype module and click "Install".


Expand Down

0 comments on commit 4b91c20

Please sign in to comment.