![]() |
|
sfProtoculousPlugin - 1.0.2Your name here |
|
Since symfony 1.4 sfProtoculousPlugin was removed from core plugins. Still it can be installed as a separate plugin and used the same way as it was used before. If you need a simple way in creating Ajax effects with Prototype framework you need this plugin. It offers a set of Prototype helpers firstly created for Ruby-on-Rails and adapted by Fabien Potencier.
Install the plugin
$ symfony plugin:install sfProtoculousPlugin
Publish assets
$ symfony publish:assets
For reference read Defenitive Guide to Symfony.
In order to use Prototype-based ajax helpers you need to add 'Javascript' helper into your template.
[php]
<?php use_helper('Javascript') ?>
It provides this functions:
All additional documentation can be found in the source code.