In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
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
typical scenario: invoice, invoice items.
I wrote about this on my blog, but wanted to post it here too.
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.
The classic Yii way for doing an update action is as follows:
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. On this article, I am going to explain how to use it on y...
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.
For best experience,use Chrome.Other browsers may complain here and there.Sorry,no patience to make happy every freaking browser out there!
There are cases you want to update a record on CGridview directly
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.
My goal here is to Open bootstrap modal and load ANY content using ajax response.
In Yii 1.x, there was a built in widget CStarRating
based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.
hello guys now i am going to show you how to Reuse File Upload Code across multiple projects.
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?
Everyone have seen a multilayer menu in several CMS
Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)