Zend Framework: Enable jQuery in single view

undefined

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

Save Url in CSV using IMACROS, iMacro JavaScript Extracting values ការប្រើ iMacro ដើម្បីបង្កើត csv file and adding new line - (0 comments)
DRAG AND DROP NESTABLE MENU ON PHP AND MYSQL AND JQUERY - (4 comments)
How to create Menu and Sub menu, How to use Recursion Function in Codeigniter recursive function, Php, MySQL - (0 comments)

0 comments:

Post a Comment

Followers

រឿង ដែលខានមើលមិនបាន

Contact us

Name

Email *

Message *

Your Language

Online

Copyright 2009 Simplex Celebs All rights reserved Designed by www.sruol9.com