Archive | Cheesecake RSS feed for this section

Theming your CakePHP apps (V1.2)

TweetAll folders called 'Themed' are renamed to 'Theme' in CakePHP version 1.3 everything else in this post still holds true There has been support for themes / skins for CakePHP since eons - in fact we had put in themes in Cheesecake Photoblog right in version 1.x, however this feature is not very well known. [...]

Read full story · Comments { 19 }

Radiobutton issues while migrating from cakePHP-1.2alpha app to 1.2prebeta

TweetToday a new version of cakephp-1.2's pre-beta released, Eager to upgrade I plugged it into the new Cheesecake2 codebase which was happily on cakephp-1.2's last alpha (released on 9th July). As expected some minor migration issues did crop up immediately, posting the list below 1. No more debug, cake_admin etc. constants in config/core.php - Replace [...]

Read full story · Comments { 6 }

Related tags, search by tags in Cheesecake-Photoblog

TweetAn often repeated question on the CakePHP Group relates to filtering hasAndBelongsToMany associations or finding related hasAndBelongsToMany associations. To give a real life example and make it more clear - In Cheesecake-Photoblog a photo has and belongs to many tags. Simple tasks like finding all tags that belong to a photo or all photos that [...]

Read full story · Comments { 0 }

Attach & detach behaviors at run-time in CakePHP Models

TweetUpdate Cakebaker blog tells us that attaching and detaching behaviors on the fly is now built in CakePHP core (we obviously have been doing something right) Behaviors are one of the best things that have been added to CakePHP 1.2, they allow you to add functionality to your models in a very elegant and modular [...]

Read full story · Comments { 10 }