Top Posts
-
Recent Posts
Recent Comments
- Paulo H3nrique Alves on Dynamic select box with CakePHP 2.0
- Mog on Dynamic select box with CakePHP 2.0
- Saeed on CakePHP validation on a Search Form
- Saeed on CakePHP validation on a Search Form
- miglos on Dynamic select box with CakePHP 2.0
Categories
Link
Author Archives: Richard
CakePHP 2.0 change error layout for admin
Most sites must have a separate admin area to the main site and many will be using a different layout for the admin area. CakePHP will render errors using the default template so your admin area can look inconsistent and … Continue reading
Posted in PHP
Leave a comment
CakePHP 2.0 paginate on related model
Just a quick note on this one as it took a while to discover how to it. Say you have a relationship between two tables and you want to be able to use the built in pagination helper to generate … Continue reading
Posted in PHP
Leave a comment
CakePHP validation on a Search Form
I wanted to validate the fields on a search form (e.g. date, price) like the add/edit forms work when you bake or use the scaffolding. Why is this a problem. CakePHP has great built in validation but it is tied … Continue reading
Posted in PHP
3 Comments
Dynamic select box with CakePHP 2.0
I wanted some auto populating Select boxes in a site I was creating so that when I changed a Category the Subcategories would automatically update. CakePHP can do this pretty easily but it is let down by the documentation as … Continue reading
Posted in PHP
6 Comments
CakePHP 2.0 AJAX sortable list that updates to databases
It is easy to create an AJAX sortable list with CakePHP 2.0, using jQuery that automatically updates the database, however it is hard to find documentation explaining how to do it. Here is my explanation – it assumes a basic … Continue reading
Posted in MySQL, PHP
3 Comments
