[Wiki] PHPStorm & NetBeans autocomplete problem
The problem: If you type Yii::app()->user<ctrl+space> code completion didn't work. This solve it. PHPStorm 5 /yii/framework/yii.php right click "Mark as Plain text" Create new php file in your...
View Article[Extension] simple-currency-manager-module
List of all currencies get/update, converter, geoip based currency code getter/setter, currency drop down widget
View Article[Wiki] Limit a CGridView field to some preset length.
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information. How about the example just below. Hover over...
View Article[Wiki] Email function at Contact page
***note : only for linux users. **you should following steps.. step-1: install ssmtp on your computer by running following command. **sudo apt-get install ssmtp** ### step-2: now change in ssmtp.conf...
View Article[Extension] date-interval-format
Format date intervals in a language-independent manner.
View Article[Wiki] Fixing extensions without modifying their code
If you're working a lot with extensions you often stumble upon problems, when you want to include them into your custom web application, like hardcoded or absolute path aliases or classes extended from...
View Article[Wiki] Patching PHP code (used as a library) without changing the original code!
The article Fixing extensions without modifying their code reminded me of another patching technique that I used. My conviction and a hard look on the web had led me to an article Redefine PHP class...
View Article[Wiki] Integrating HybridAuth directly into Yii without an extension
This article tries to explain the steps required in integrating the HybridAuth into Yii directly, without using an extension. The reason for not using an existing extension, such as hoauth is because...
View Article[Extension] ac-clientscript-minify
This extension allows you to combine, minify, compress and cache your CSS and JS files.
View Article[Extension] dexportmodule
Export in CSV a search result of a model, its relations and custom-formatted data. Very flexible.
View Article[Wiki] Adding a link to a CDataColumn
Backoffice Grid Views often list information like Posts for a blog while showing at the same time linked information like the User who wrote that post. For more efficiency, it is appropriate that the...
View Article[Wiki] Adding a date range search for CGridView the easy way
Introduction After a lot of research, everything I found on adding date range searching to a CGridView advanced search form seemed to involve adding two new public variables (e.g. $date_from,...
View Article