I am moving a project from SF 1.3.6 to Symfony 1.4.
I am using statements like the one below, very frequently in my code:
link_to_function('[Cancel]', visual_effect('blind_up', array('duration'=>0.5)));
I am now getting the error shown in the title of this question. I read in a (SF) forum that the Jquery plugin can be used to achieve this.
Can anyone show how to replicate this functionality/behavior by using the new plugin?
The visual_effect function was part of the JavascriptHelper up until version 1.4 where it was deprecated.
To get it working in 1.4 just install the sfJqueryReloadedPlugin. There is solid documentation on what is supports.
To install the plugin go to you symfony console:
Make sure the the plugin in enabled in you project configuration then include the jQueryHelper where required: