[Wiki] Exporting CGridView results to CSV file
How to create a simple CSV exporting for CGridView search results A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a...
View Article[Wiki] Starting your Yii Project Reference Guide (with Git VCS in Linux)
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too. If you don't have Yii yet...
View Article[Wiki] Collaborative software with git
Git basics ... The most difficult thing in big project, is to manage conflicts with files modified by others users. Git ca do this work for us. I can create a project on my local computer $ git init I...
View Article[Wiki] CGridView keep focus on the control after filtering
You can find the reason why I wrote this article here. cursorEnd is an extra function that is used to place the cursor at the end of the text field, this can't be done in a cross-browser way without...
View Article[Extension] ordercolumn
Adds an order column to the CGridView and lets you reorder through up and down links/icons
View Article[Extension] selgridview
SelGridView remembers selected rows when sorting / paging and allows to select row programmatically
View Article[Wiki] Simple Share Widget for Facebook, twitter and google+
Simple Share Widget This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page. <?php class SimpleShare extends CWidget {...
View Article[Wiki] AssetManager: clearing browser's cache on site update
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article. Intro You probably know, that AssetManager might be useful to avoid...
View Article[Wiki] Getting the Most out of APC for Yii
Preface The Advanced PHP Cache is a PHP extension which primarily serves as an opcode cache for PHP. The basic idea is to save PHP from re-evaluating the PHP code to intermediate bytecode on each...
View Article