This plugin provides an easy to use wrapper for the gWidgets javascript library (prototype 1.5 based) for the Symfony php framework.
This plugin, as well as the javascript library are licensed under both the GPL and MIT licenses.
$ symfony plugin-install http://plugins.symfony-project.com/sfgWidgetsPlugin
Alternatively, if you don't have PEAR installed, you can download the latest package attached to this page and extract it under your project's plugins/ directory. Download sfgWidgetsPlugin
In any case (unobtrusive or inline declaration), you must include the helper in your view:
<?php use_helper('gWidgets') ?>
For all configuration details of gWidgets, please refer to their respective documentation
If you want to specify some options (like use symfony I18N features) you simply add:
<?php gwidget_js('options'=>array(
toggleEffect => 'blind',
msgClose => 'fermer'
))?>
Remember this is optional. If you do not add it, it will use default options of the library
In your view (html) you have 2 ways to set widgets: read the README files for details
You can find some demo at gWidgets main page.