CakePHP JS Helper: How to set jQueryObject var outside of view?

markymoo

New Member
I am using the JS helper in Cake 1.3 and due to the need to use jQuery in noConflict mode, I have to set this in every view:\[code\]$this->Js->JqueryEngine->jQueryObject = 'jQuery';\[/code\]I have a LOT of views that rely on this, and I'd like to avoid having to enter this line at the top of every view that needs it. I tried setting the jQueryObject var in my app_controller.php file, but it did not work. I'd rather not hack the core jquery_engine.php file.Is there a way to set the jQueryObject var globally from within my app?Thanks!
 
Back
Top