Having WAMP installed when i try to type mysql in my windows command prompt it would give me the following error:
How to add HTML tag keyboard and toolbar shortcuts to Notepad++
(skip to implementation) Like most computer users i do prefer to use keyboard shortcuts and while working with web pages in particular, keyboard shortcuts and visual shortcuts in editor toolbars speed up development work considerably. There are HTML editors like…
Form DOM element not recognized (created) in ajax form in IE when placed with end tag missing
Skipping a form end tag </form> costed me almost a day (i had to go to bed abandoning the fixing for some time though;)). I had been using ajaxForm with jQuery to submit ajax form which was placed on a…
Center aligning a table within DIV element
Define the CSS style in css file or header of the HTML page:
Croogo – A free open source CakePHP powered CMS for PHP
Croogo is a free web based CMS (Content Management System) for PHP built on the top of CakePHP MVC framework. It was first released on October 07, 2009 by Fahad Ibnay Heylaal. It’s latest version is Croogo-1.3.2 and it could…
New improved CakePHP cookbook documentation
Gone are the old days when CakePHP developers would complain about the in-sufficient documentation available in CakePHP. CakePHP community has not only improved existing documentations but going a step further they have added separate tabs for all three main versions…
CakePHP 1.3.4 released, 2.0 on the way!
The CakePHP core team announded the release of CakePHP 1.3.4 recently (on Sep 12, 2010). It was almost within month since the last CakePHP release i.e. 1.3.3. The team announced that there had been a few changes which could affect…
Use of custom displayField paramater in CakePHP
The $this->displayField is used to define custom display field while doing ‘list’ or scaffolding in CakePHP. It can be specified either in Model class or just before making a db call.
Using Inflector singularize and camelize for taking out model name in CakePHP
We can use CakePHP library’s Inflector::singularize() and Inflector::camelize() methods for taking out corresponding model name from a controller name (provided we follow CakePHP’s naming conventions well).
Security component black hole, form submit dies on a blank page with no error
The problem started when i used Auth component in my current CakePHP project. Everything seemed working fine until i created an html form, submitted it and tried to retrieve this form’s data in controller action. I tried to print $this->data…