There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.
This is a tutorial for how to auto set model values without any code.
Sometimes you want to render a view in Fancybox.
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
Next to do is to download the Yii FCKeditor extension, created by Ascomae. Extract the downloaded file, and place the fckeditor/ widget folder in your web applications protected/extensions/ directory.
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...
This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that the yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?
View file
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.
It is actually mentioned in the documentation
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?
Simple Yii Script for performing CRUD operations: