I searched about custom imap datasource for cakephp all over the internet. I got few things but those are for CakePHP 1.x version that is too old. That’s why I tweaked few things to make it work for CakePHP 2.x version. Here is my modified and upgraded custom IMAP datasource for your cakephp application. CakePHP IMAP Custom Datasource Custom datasource for CakePHP (2.x) to interact with your mail server with IMAP functionality. Go to GitHub repo where I put my …
Tag: CakePHP
If you have ever made any PHP Classes for your work. Then it’s pretty easy to add those classes inside your CakePHP driven application. You need to follow the below steps. Steps 1: You first have to place a class file inside a directory Steps 2: Then open App/Config/bootstrap.php from your CakePHP application directory and write the following codes. //mydir is another directory placed outside of cakephp directory App::build(array( 'GlobalUsers' => array(dirname(CAKE_CORE_INCLUDE_PATH).DS.'mydir'.DS) ), App::REGISTER); It will just add the location …
To add .ctp view file of CakePHP in PHPStorm editor you simply you just follow the following steps and you are done. Step 1 Just go to File -> Settings to open editor’s settings panel. Step 2: Just click ‘IDE Settings’ -> ‘File Types’ From the above image now just select ‘PHP Files’ from ”Recognized File Types’ and now from the ‘Registered Patterns’ section just click on ‘+’ icon add add *.ctp (according to the following image Now just ‘Apply’ …