Toggen Blog
Tech tips
Articles
Latest
DebugKit not Loading Toolbar in CakePHP 3
Problem: debug set to true in config/app.php, vendor/cakephp/debug_kit exists but debug kit toolbar not appearing in browser, debug_kit/js/toolbar.js shows a 404 when viewing page load in Developer Tools in browser. Cause: symlink from vendor/cakephp/debug_kit/webroot...
CakePHP 3 AJAX Modelless & Database backed Forms
Standing on the shoulders of giants. I have converted the code from the below mentioned sites to work with CakePHP 3. Normal database backed Form with AJAX JQuery code Inspired by: http://jamnite.blogspot.com.au/2009/05/cakephp-form-validation-with-ajax-using.html...
CakePHP 3 – Modelless Forms replace $useTable = false
Globally Change Date Display in CakePHP 3
By default the Locale for CakePHP 3 is en_US so dates display as m/d/y # config/app.php 'App' => [ 'namespace' => 'App', 'encoding' => env('APP_ENCODING', 'UTF-8'), 'defaultLocale' => env('APP_DEFAULT_LOCALE', 'en_US'), 'base' => false, Which makes...
How to use log() in Model/Entity/Bookmark.php CakePHP 3
In CakePHP 2.x I could insert $this->log() just about anywhere and it worked. Was just trying to do the same in CakePHP 3 from inside the file src/Model/Entity/Bookmark.php I received an error message "Call to undefined method App\Model\Entity\Bookmark::log()" To...
Download Pentaho Reports from Pentaho Community Edition
Sometimes you can't locate the original prpt file that you use to create and upload a report to the Pentaho BI Server. So how do you grab the reports from the BI server and then edit them? Firstly you need to have Pentaho Report Designer Installed. Then you need to...

