Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 71-80 of 321 result(s).

Using the yii2-datecontrol extension along with yii2-detail-view widget

Updated 6 months ago by Kartik VHow-tos0 comments – viewed 2,065 times – ( +28 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Render a form in a Modal Popup using ajax

Updated 6 months ago by thiagoc7How-tos11 comments – viewed 15,947 times – ( +6 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

Check online users / set specific user offline

Updated 6 months ago by KonApazHow-tos1 comment – viewed 2,487 times – ( +4 ) – version 1.1
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that

Update specific cgridview html row after AJAX request

Updated 6 months ago by KonApazHow-tos3 comments – viewed 5,137 times – ( +2 ) – version 1.1
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)

Insert a model record using CGridview

Updated 6 months ago by KonApazHow-tos0 comments – viewed 3,212 times – ( +2 ) – version 1.1
CGridview displays existent rows of the table (using DataProvider)

Update related models of a model using listBox and checkBoxList in the form

Updated 6 months ago by KonApazHow-tos0 comments – viewed 4,624 times – ( +2 ) – version 1.1
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

Generate CTreeview from database table and update a model

Updated 6 months ago by KonApazHow-tos0 comments – viewed 2,034 times – ( +1 ) – version 1.1
Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)

Generate a multi-lever array sub-category for a menu

Updated 6 months ago by KonApazHow-tos8 comments – viewed 11,325 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Visualization tree-multi subcategories as listbox or dropdownlist

Updated 6 months ago by KonApazHow-tos4 comments – viewed 10,465 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?