dbFormExtraPlugin
0.0.5beta
for sf 1.2sf 1.1 MIT
This plugin will hold some extra validators / widgets we used for a project.
Initially this will include :
- sfWidgetFormDateDynarch.class.php : Default Date Picker used in sf 1.0 core
- sfWidgetFormColorPickerJQuery.class.php : JQuery Color Farbtastic
We have some other validators/widgets coming up : sfWidgetFormDateSlider
Developers
| Name |
Status |
Email |
DigitalBase |
lead |
ue.esablatigid <<ta>> ofni
|
License
Copyright (c) 2007-2008 Digital Base (info@digitalbase.eu)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Releases for sf 1.2
| Version |
License |
API |
Released |
|
0.0.5beta
|
MIT license |
0.0.5beta
|
13/01/2009 |
|
0.0.4beta
|
MIT license |
0.0.4beta
|
13/01/2009 |
|
0.0.3beta
|
MIT license |
0.0.3beta
|
13/01/2009 |
|
0.0.2beta
|
MIT license |
0.0.2beta
|
22/11/2008 |
Releases for sf 1.1
| Version |
License |
API |
Released |
|
0.0.5beta
|
MIT license |
0.0.5beta
|
13/01/2009 |
|
0.0.4beta
|
MIT license |
0.0.4beta
|
13/01/2009 |
|
0.0.3beta
|
MIT license |
0.0.3beta
|
13/01/2009 |
|
0.0.2beta
|
MIT license |
0.0.2beta
|
22/11/2008 |
Changelog for release 0.0.5 - 13/01/2009
- added sfWidgetFormDateTimeDyn widget : http://code.google.com/p/dyndatetime
Other releases
Release 0.0.5 - 13/01/2009
- added sfWidgetFormDateTimeDyn widget : http://code.google.com/p/dyndatetime
Release 0.0.4 - 13/01/2009
- added documentation for sfWidgetFormDateJQuery
* added skeleton for functional/unit tests
Release 0.0.3 - 13/01/2009
- added sfWidgetFormDateJQuery
* added changelog
Release 0.0.2 - 22/11/2008
Not available
dbFormExtraPlugin
The dbFormExtraPlugin packages useful validators, widgets, and forms.
This collection holds validators, widgets, we used for a project. This can be useful for future projects
Installation
Install the plugin
$ symfony plugin:install dbFormExtraPlugin
Make sure to create the symlinks / copy content in web folder by using publish assets
$ symfony plugin:publish-assets
Clear the cache
$ symfony cache:clear
Documentation
Use is very easy & straightforward, replace your datewidgets by the sfWidgetFormDateJquery
!php
public function configure() {
$this->widgetSchema['start_at'] = new sfWidgetFormDateJQuery();
$this->widgetSchema['end_at'] = new sfWidgetFormDateJQuery();
}
Make sure your form is registering all required css/stylesheets by using this somewhere in your template
!php
include_stylesheets_for_form($form)
include_javascripts_for_form($form)
That's it.
Widgets
- sfWidgetFormDateDynarch : data widget (as used in symfony 1.0)
- sfWidgetFormColorPickerJQuery : color picker (JQuery Color Farbtastic)
- sfWidgetFormDateJQuery : datepicker based on jquery datepicker (from sfFormExtraPlugin) but includes jquery and works out of the box
Validators
- sfValidatorColorHex : validates a color (#FFF, #FFFFFF) in hex format
How to contribute.
If you want to contribute a to this plugin, email info@digitalbase.eu