This extension is a widget that simply filters an array of strings by some input.
Please visit the plugin homepage for demonstration and documentation.
see: jQuery Simple Filter
Requirements ¶
- Yii 1.1.4 or above
Installation ¶
- Extract the release file under
protected/extensions
- put in a view code blocks like the following...
Usage ¶
See the following code example:
<?php $this->widget(
'ext.simpleFilter.JSimpleFilter',
array(
'model'=>$model,
'attribute'=>'country',
'htmlOptions'=>array('size'=>65),
'data'=>array('Germany','USA','Russia','Bulgaria'),
'showAll' => true,
'position' => 1,
));
?>
Internationalization (I18N) ¶
The widget support german and english at the moment. If you have a translation of the message file in an other language than feel you free and send me a mail with your translation!
Change Log ¶
September 22, 2010 Version 1.0 ¶
- Initial release.
March 24, 2011 Version 1.2 ¶
- better documentation
March 29, 2011 Version 1.3 ¶
- I18N support for error messages
- some code optimation
March 29, 2011 Version 1.4 ¶
- eliminated bug who is visible in the user interface (break between label and input field)
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.