Yii hide buttons of a CButtonColumn / TbButtonColumn

When you are using the CButtonColumn or TbButtonColumn and you want to hide a particular link you have to set the template attribute. You can also use this approach to change the order of the icons. See example below:

Continue reading Yii hide buttons of a CButtonColumn / TbButtonColumn

Yii CJuiDatePicker dateformat

Today I struggled with the datepicker provided by Yii. I wanted to show the date in format ’24-02-2013′. In this post I will show how I solved this.

Continue reading Yii CJuiDatePicker dateformat