Yii: Include view specific CSS

This is useful to define a CSSĀ file specifically for a page and not overloading everything in a single CSSĀ file. In /path/to/views/view_file.php:

Yii: Autocomplete field with CJuiAutoComplete

I have previously written a post on the same topic with CAutoComplete. Since CAutoComplete is deprecated (since V113) and replaced with CJuiAutoComplete, I should keep my notes up-to-dated. I find …

Yii: Save empty field as null

This is an updated post in reference to a previous post about saving a field to null when no value is entered. Thanks to those who left comment, this is …