If you want to use ZendX follow this easy steps:
Download the Full Zend Framework library, and copy Zendx from "extras" Folder to your library Folder.
Add this in bootrap
protected function _initJqueryLoad()
{
$view = new Zend_View();
//$view->addHelperPath("ZendX/JQuery/View/Helper/", "ZendX_JQuery_View_Helper");
$view->addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper");
ZendX_JQuery::enableView($view);
$view->jQuery()->addStylesheet("jquery/css/ui-lightness/jquery-ui-1.10.1.custom.css")
->setLocalPath("jquery/js/jquery-1.9.1.js")
->setUiLocalPath("jquery/js/jquery-ui-1.10.1.custom.js");
}
Add this in helper in views
$view->addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper");
and download Jquery put into public folder, please in the picture
If you want to use ZendX follow this easy steps:
Download the Full Zend Framework library, and copy Zendx from "extras" Folder to your library Folder.
Add this in bootrap
protected function _initJqueryLoad()
{
$view = new Zend_View();
//$view->addHelperPath("ZendX/JQuery/View/Helper/", "ZendX_JQuery_View_Helper");
$view->addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper");
ZendX_JQuery::enableView($view);
$view->jQuery()->addStylesheet("jquery/css/ui-lightness/jquery-ui-1.10.1.custom.css")
->setLocalPath("jquery/js/jquery-1.9.1.js")
->setUiLocalPath("jquery/js/jquery-ui-1.10.1.custom.js");
}
Add this in helper in views
$view->addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper");
and download Jquery put into public folder, please in the picture
Jquery PHP Zend Framework
0 comments:
Post a Comment