How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)
CGridview displays existent rows of the table (using DataProvider)
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that
Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)
hello guys now i am going to show you how to Reuse File Upload Code across multiple projects.
// In Yii 1.x $form = $this->beginWidget('CActiveForm', [
'id' => 'order-search-form',
'method' => 'get',
]);
echo $form->textInput($searchModel, 'id');
echo CHtml::submitButton('Find', ['class' => 'btn btn-primary']);
$this->endWidget();
`
My goal here is to Open bootstrap modal and load ANY content using ajax response.
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)
The classic Yii way for doing an update action is as follows:
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...
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
When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)
While rewriting the PcReportContent extension I'm maintaining I've bumped to a challenge. This wiki was born out of it.
You may find this usefull when you discover your CGridView lost the selection after an update or after a page change, nicely i have build a new extension to cover this problem in a very easy way.
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features