Categories
Zend Framework 1.12

ZendX jQuery Date Picker Easy Tutorial

Learn the ZendX jQuery Date Picker: If you are of medium intelligence and are not well inclined to convoluted and unfathomable examples of the use of ZendX then please be my guest and read: The Most Unfathomable Manual Zend But if you are from earth i have constructed this tutorial to help you implement the […]

Categories
Zend Framework 1.12

[SOLVED] Uncaught exception ‘Zend_Application_Bootstrap_Exception’ with message ‘Resource matching “layout” not found’ in

After enabling the layout with: zf enable layout If you are getting this Error, most likely you are using the following code in Bootstrap.php: $this->bootstrap(‘layout’); Uncaught exception ‘Zend_Application_Bootstrap_Exception’ with message ‘Resource matching “layout” not found’ in It cannot find the resource so it is throwing a fatal error Solution: in you application.ini: add the following […]

Categories
Uncategorized

Zend_Acl : user Authorization with Zend Framework 1.12

Access Level Module and Controller Registration Zend_Acl and navigation Role Design for a CMS Access Roles for menu Zend Pro CMS Techniques Zend navigation Pages Zend View navigation helpers

Categories
PHP 5

Check if PHP Post Variable is set

Info from Stackoverflow if (isset($_POST[“mail”]) && !empty($_POST[“mail”])) { echo “Yes, mail is set”; }else{ echo “N0, mail is not set”; }

Categories
PHP 5

PHP short of statement (Ternanry)

More info can be found at davidwalsh $message = ‘Hello ‘.($user->is_logged_in() ? $user->get(‘first_name’) : ‘Guest’);