CGridView.selectionChanged property) to capture click on any grid view's row and redirect user to row-specific URL. I wanted to change it to double click only.
selectionChanged even only, no
dblclick, so that was a quite nice challenge. It seems that the only way is to capture this event yourself.
Read More "Capture double click on Yii’s CGridView row"
To delete in Yii a model with some relations we usually have at least three options.
Depending on many factors (RDBMS type, table type, situation, context etc.) most of them have advantages and disadvantages. Good developer already knows these options, so intention of this post is not to discuss them, but to show you an interesting, new (at least for me) fourth approach to solve this problem, that I found recently.
Read More "Delete model with relations"
This site is currently in import mode. I'm importing all my posts from external sources. Anything strange may happen here, until this process is over (and this notice is removed).
Posts import in progress...