[News] Yii 2.0 Beta is released
We are very pleased to announce the Beta release of Yii Framework version 2. You can download it from yiiframework.com. This Beta release includes hundreds of new features, changes and bug fixes that...
View Article[Extension] yii-elfinder2
This extension allows use elFinder file manager in your Yii application.
View Article[Wiki] How to implement cron in Yii 2
Create console application In advance template there is already a file yii. And there is no need to run it as php, it is Linux script. Create cron service command Create a controller in...
View Article[Wiki] Login Form With email or Whatever
In login form model /** * LoginForm class. * LoginForm is the data structure for keeping * user login form data. It is used by the 'login' action of 'SiteController'. */ class LoginForm extends...
View Article[Extension] yii2-datecontrol
Control date formats of attributes separately for View and Model for Yii 2.0.
View Article[Extension] yiiheart
Boilerplate Yii for start new project include Yiibooster, Right, giiHeart, PHPExcel
View Article[Wiki] Update Gridview with Dropdown Selection
I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum... In the view you have: the js script for capturing the...
View Article[Wiki] How to avoid a database update if the ActiveRecord was not modified
Classic Scenario The classic Yii way for doing an update action is as follows: load the model using the id (or other data) received with the request massively assign its attributes if validation is ok,...
View Article[Extension] yii2sshconsole
Provides a console controller which is able to execute console commands.
View Article[Wiki] Installare Yii 2 usando XAMPP su Windows in versione portabile
Introduzione Una delle soluzioni che preferisco per studiare un framework PHP è avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette...
View Article[Wiki] Advanced CGridview issues - custom button using php and html
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button) This code could be used also for bootstrap/booster CGridview In this example will use...
View Article[Wiki] How to use BootstrapInterface
Yii2 introduces the BootstrapInterface to ease our application initialization tasks, whether they are composer based or Application bootstrap (do not mistaken with Bootstrap CSS Framework) based tasks....
View Article[Wiki] Displaying, Sorting and Filtering Model Relations on a GridView
One of the things you will find tricky to implement is the the sorting and filtering of a GridView's column that displays related model data. As you know if you have been playing with Yii2 lately,...
View Article[Wiki] Escape from Default's Yii2 Delete Confirm Box
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify...
View Article[Wiki] How to use GridView with AJAX
With the adoption of PJax on Yii2 things have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon...
View Article