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
Are they view helpers? Would someone point me to a resource describing how to build one? For example, a template of a sidebar that would be called by layout()->sidebar ?> .
Thanks.
to solve this problem by altering the base_facebook.php class in the PHP SDK and adding the curlopt to ignore the SSL verification step. See below:
and add this (public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-3.1',);
CURLOPT_SSL_VERIFYPEER => false)public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-3.1', CURLOPT_SSL_VERIFYPEER => false );
<?phpand set proper charset in the HTML Head section
$dbhost = 'localhost';
$dbuser = 'root';
$dbpwd = '';
$dbname = 'test';
$dbConn = mysql_connect ($dbhost, $dbuser, $dbpwd) or die ('MySQL connect failed. ' . mysql_error());
mysql_select_db($dbname) or die('Cannot select database. ' . mysql_error());
mysql_query("SET NAMES utf8");
function dbQuery($sql)
mysql_query("SET NAMES utf8"); //the main trick
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">





























Khmer Luna Calendar 2013


