This post is deprecated. Please goto this post. Here’s a quick guide to how to enable Hindi typing keyboard layout in Windows7 (professional) — Go to Start > Control Panel > Clock, Language, and Regions > Change keyboard or other…
CakePHP captcha support for CakePHP 2.x and 3.x
Here is the latest CakePHP Captcha support for CakePHP Version upto 3.x. Download for CakePHP 3.x Download for CakePHP 2.x NOTE:For best Image Captcha results this component requires GD and Freetype support enabled. Please check your phpinfo() to know whether your server…
Saving multi-level associated data in CakePHP
In CakePHP 2 we had hasMany, saveMany, saveAssociated model methods or functions to save associated data. These functions works great with straight associations but to make them work for saving multi-level association data you need a trick.
php composer update command and status: 404 Not Found on Linux
Today I tried to update Cakephp by running php composer update on my server. I tried to follow the commands given at https://getcomposer.org/download/ under Command-line installation but it failed at the very first go. The command line code was:
Gmail SMTP in CakePHP not working? Here is a possible fix!
While working in a CakePHP application in my local computer I usually use Gmail SMTP in CakePHP to send emails from my application which are of course test emails. Previously it worked just fine with the basic settings (as specified…
PDF thumbnail generation in WordPress – You may not need a plugin!
I was working on a WordPress website in which I needed to create thumbnails from PDF file uploads. As I work with WordPress less frequently these day I was not aware of an amazing update and fact about PDF thumbnail…
How to add nofollow link attribute for SEO purpose
Sometimes you don’t want a page to be indexed by search engine robots. The reason could be as simple as you dont want people to find a page as it is not important. For example, I have a website portfolio…
How to use Router::url() to generate an URL in CakePHP 3
In CakePHP 2.x we used Router::url([]) to generate URL in any file. It works almost same with two major differennces though. The first one is that we have to call Router class manually wherever we want to use this function.
Foundation 6 Block Grid Media list is here
I was looking for this for a while and then finally found it here after having some trouble with search. Posting it here hoping for a someone to land up here before they could find the actual page in organic…
Using Cake Bake Console with both CakePHP 2.x and 3.x
I got started with my new CakePHP 3.x project today. As usual I wanted to create a few scaffold using cake bake command. As I already had a CakePHP 2.x setup in my machine. I still needed it and its cake bake…