Próbuje zintegrowac JQuery z ZF i sypie mi błedami
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'JQuery' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/:./views/helpers/' in /usr/share/php/libzend-framework-php/Zend/Loader/PluginLoader.php:412 Stack trace: #0 /usr/share/php/libzend-framework-php/Zend/View/Abstract.php(1182): Zend_Loader_PluginLoader->load('JQuery') #1 /usr/share/php/libzend-framework-php/Zend/View/Abstract.php(618): Zend_View_Abstract->_getPlugin('helper', 'jQuery') #2 /usr/share/php/libzend-framework-php/Zend/View/Abstract.php(344):
os linux mint biblioteke mam w ścieżce na serwerze tzn usr/share/php i tam jest tez zend więc powinien widziec....
bootstrap $application = new Zend_Application( APPLICATION_ENV, 'ZendX_Application_Resource' => 'ZendX/Application/Resource' ), 'config' => APPLICATION_PATH . '/configs/application.ini' ) );
aplication.ini resources.view.helperPath.ZendX_JQuery_View_Helper = "ZendX/JQuery/View/Helper" ; deklarujemy, że w projekcie będziemy wykorzystywać ZendX dla jQuery resources.Jquery.enable = true ; deklarujemy, że w projekcie będziemy korzystać z jQuery resources.Jquery.ui_enable = true ; deklarujemy, że w projekcie będziemy korzystać z jQuery UI resources.Jquery.localpath = "/jquery/jquery-1.8.2.min.js" resources.Jquery.uilocalpath = "/jquery/jquery-ui-1.9.0.custom.min.js" resources.Jquery.stylesheet = "/jquery/css/ui-lightness/jquery-ui-1.9.0.custom.min.css"
layout