Setting complex ‘find’ conditions in CakePHP can be tricky. I picked an example of Cakephp complex find conditions from one of my CakePHP projects. I wanted to list all auctions which are “not closed” and whose’ end date/time is greater…
404 error while saving options of Unique Article Wizard WordPress Plugin
I would try to save UAW options at http://www.myexamplewebsite.com/wp-admin/options-general.php?page=unique_articles/unique_articles.php and it would end up in a “404 Not Found error”. I tried different things in order to fix it.. debugged through the action of the options form, changed form action, urlencoded the…
Installing PHPUnit in wamp in Windows7
Installing PEAR package manager Add php directory to your Windows’ Environment Variables PATH, if it is not already added. My wamp php path is “C:\wamp\bin\php\php5.3.13”. Check Adding to Environment Variables Path if you are not sure how to add a…
Adding a location to Environment Variables Path in Windows7
You can add a location to system Environment Variables PATH by following simple steps give below. For example i wanted to add my PHP directory path i.e. C:\wamp\bin\php\php5.3.13 to Environment Variables > Path value in Windows 7
Setting id of input wrapper div in cakephp and hiding by default
It might be a simple thing for most of CakePHP pro’s but at the same time it could be a tricky thing for CakePHP newbies. I just caught one newbie CakePHP developer of my team spending time on figuring this…
jEdit plugin download problem with select another mirror error
Facing jEdit plugin download problem with select another mirror error? The solution is very simple. Just click on the “Download Option” button at the bottom of Plugin Manager window and “Update” mirror list. Now select some different and nearest available…
Showing template file path in the front view of a page in Magento
One of the cool features of Mageto is showing the template file path with dotted outlines in the front view of a page. It makes real easy for a developer to find and enter a template file with the help…
Newsletter not saving on edit in “WP Autoresponder And Newsletter Plugin” of WordPress
I had been using WP Autoresponder And Newsletter Plugin (http://wordpress.org/extend/plugins/wp-responder-email-autoresponder-and-newsletter-plugin/) when this issue occurred. I tried to edit and save a newsletter which i had created but the values didn’t save.<!–more–> On debugging i found that the Newsletter Edit form’s…
Easy and smart way to add “required” css class to form field labels
Undoubtedly, this is the easiest way to add a red asterisk (*) sign to a required field label in a form. Here’s HTML part of the form. <div class=”required”><label for=”FirstName”>First Name</label> <input name=”first_name” maxlength=”50″ type=”text” id=”FirstName”></div> <div class=”required”><label for=”LastName”>Last Name</label> <input…
Database date between query build file in CodeIgnitor administrator
Here’s the path to DB file in CodeIgnitor admin end which contains query related stuff. Like building order, qhere and select blocks. One may want to do some debugging in this file. In this file i need to make no…