Stats

This plugin is deprecated and is not maintained anymore.
Please use jQuery4PHP. http://jquery4php.sourceforge.net/ http://sourceforge.net/projects/jquery4php/

ysJQueryUIPlugin0.0.9beta
for sf 1.4sf 1.3sf 1.2sf 1.1sf 1.0MIT

15

users

Sign-into changeyour status

The ysJQueryUIPlugin provides support for jQuery User Interface
in your app views; Importing the jquery.ui library facilitating abstractions
for low-level interaction and animation, advanced effects and high-level,
themeable widgets, built on top of the jQuery JavaScript Library,
that you can use to build highly interactive web applications.
Everything from PHP code (Symfony helpers).
jQuery and Symfony write less, do more.

Developers

License

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.

Changelog for release 0.0.9 - 29/01/2010

oyepez003: Added support for credentials in the menu and contextual menu

Other releases

Release 0.0.9 - 29/01/2010

oyepez003: Some Bugs Fixed (styles and javascript code)

oyepez003: Added support for jquery context menu

oyepez003: Added support for credentials in the menu and contextual menu

Release 0.0.8 - 14/01/2010

Plugin channel updated for 'plugins.symfony-project.org'

Release 0.0.7 - 14/01/2010

Support to FG-MENU: with the new helper ysJQueryUIMenu

Now you can define the widget default options from the app.yml file.

Now you can load the UI.Layout options from a yaml file.

ysJQueryRevolutionsPlugins 1.0.6 dependence.

Some Bugs Fixed (styles and javascript code)

Release 0.0.6 - 14/01/2010

Support to FG-MENU: with the new helper ysJQueryUIMenu

Now you can define the widget default options from the app.yml file.

Now you can load the UI.Layout options from a yaml file.

ysJQueryRevolutionsPlugins 1.0.6 dependence.

Some Bugs Fixed (styles and javascript code)

Release 0.0.5 - 08/01/2010

oyepez003: Some Bugs Fixed (styles and javascript code)

oyepez003: Added the 'oneEvent' in the listener array option to create a jQueryUIWidget

oyepez003: Now when you create a ui-dialog with the 'ui_dialog_init' function and you pass the option 'listener',
automatically the listener will have the possibility of opening the dialog on the defined event

Release 0.0.4 - 30/12/2009

ysJQueryUIPlugin

The ysJQueryUIPlugin provides support for jQuery User Interface
in your app views; Importing the jquery.ui library
facilitating abstractions for low-level interaction and animation,
advanced effects and high-level, themeable widgets, built on top of the jQuery
JavaScript Library, that you can use to build highly interactive web applications.
Everything from PHP code (Symfony helpers).
jQuery and Symfony write less, do more.

Enable the plugin if necessary by editing config/ProjectConfiguration.class.php:

$this->enablePlugins('ysJQueryUIPlugin');

Publish plugin assets (Very Important for version < 0.0.8):

php symfony plugin:publish-assets

Clear you cache

symfony cc

See the app.yml to change where you load the library jquery.UI and themes (Optional).
For localhost configuration is only available [ui-lightness,blitzer,smoothness,cupertino] themes.
You can add or delete themes.

How To

Always the 1st argument is the jquery selector,
the 2nd is the array configuration (optional),
and the 3rd is html properties (optional)

Note: You can define a listener in the configuration array.
The listener must have the 'selector' and ('event' or 'oneEvent') indexes.
You can add a behavior 'before' and 'after' executing the event:

array('listener' => array('selector' => '#jQuerySelector',
//'event' => 'click', // To create the widget each time you run the event'oneEvent' => 'click', // To create the widget only once you run the event'after' => like_function("alert('After function')"),
'before' => like_function("alert('Before function')"),
))

You can use the helper ui_datepicker_set_defaults()
to add default configuration to the datepicker.The array argument
is the default configuration. If you dont pass the argument the helper
look for the node 'ys_jquery_ui_datepicker_defaults' in the app.yml file

add_core_hover_animation('jquery-selector', 'class1', 'class2')
This helper adds a hover animation to matching elements with the jquery selector.
The 2nd and 3rd arguments are optional and their respectively default values are 'ui-state-hover' , 'ui-state-active'
Example: