[Wiki] How to implement form events
You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful...
View Article[Extension] yii-dna
Yii Project Base that allows rapid generation of deployable, testable and maintainable custom Yii applications
View Article[Wiki] Check users online, user last activity, user last ip
DbHttpSession Stores session data in database and transfer data when session is destroy. Uses for check users online, user's last activity and last ip. Instructions 1) Download the component from...
View Article[Wiki] embedded javascript block in your view with IDE checking or intellisense
this is my way for embed js code block in view file: <?php \year\widgets\JsBlock::begin() ?> <script > $(function(){ jQuery(".company_introduce").slide({mainCell:".bd...
View Article[Extension] eavactiverecord
Implements entity-attribute-value pattern and provides a simple way to work with EAV-attributes.
View Article[Wiki] Behaviour for Time Zone and Format conversion for Date, Time,...
Date Time Format and Time Zone Change:- Usage :- This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in...
View Article[News] Yii 2.0 RC is released
We are very pleased to announce the release of Yii 2.0 RC (Release Candidate). You may follow the instructions on yiiframework.com to install or upgrade to this version. This RC release includes about...
View Article[Wiki] MongoDB's RBAC support class extending BaseManager
Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in common\components and modify your params.php file like this: 'components.authManager'=>[...
View Article[Wiki] How to hide /frontend/web in url addresses on apache
There is an issue on Yii2 to redirecting / urls to /frontend/web. In other words we need a way to hidden /frontend/web from addresses. We will do this without changing Apache configuration and creating...
View Article