James McDonald

Access

Blog History

Bootstrap CakePHP 3 Bootstrap-ui

Bootstrap CakePHP 3 Bootstrap-ui

In my learnings for make self glorious user of Twitter Bootstrap I have been looking at https://github.com/FriendsOfCake/bootstrap-ui I'm using https://github.com/jmcd73/cakephp3-ajax-samples as a place to stash my code so I don't blow my laptop away and then lose it...

read more

CakePHP 3: _serialize is a View Killer

Note to self: If $this->set('_serialize', [ 'content' ]);  then a request for content type of 'application/json' or 'application/xml' will automagically return the correct data without needing a view file. But if $this->set('_serialize', false); isn't set then a...

read more

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...

read more