Category Archives: CakePHP

Cakephp JQuery Bootstrap and Modal forms

Wanted to create a pop-up modal form to edit, view and create database information.  The default is, of course, to go to a new page.  I thought that I would try and work through it to make it more HTML2.0 like.  Here is what you need to do… Set up the main view First off, […]

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> CakePHP, Programming | Leave a comment

Cakephp DebugKit not working

I run cakephp in docker containers behind a reverse proxy.  This means that there is common logging, Lets Encrypt certs when required etc.  However, CakePHP is normally run on port 80 in a docker container, so that means when you try and enable debug kit, the browser will complain about mixed content and NOT display […]

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> CakePHP | Leave a comment

Get WkHtmlToPdf to work in CakePHP 2

Doing a website, and using the code from here: https://github.com/Milanzor/cakephp-wkhtmltopdf Problem was that I was getting blank PDFs back.  Turns out it does not do error handling very well. After debugging the output command etc, and it bombing out with “host not found” type errors, I copied from the “Tips and URLs” section into AppHelper, […]

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> CakePHP | Leave a comment