Wiki

Sorted by date (updated)X
Displaying 81-90 of 685 result(s).

Save and Display Date/Time Fields in different formats in Yii2

Updated 2 months ago by Kartik VHow-tos4 comments – viewed 2,293 times – ( +24 ) – version 2.0
You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

How to change the confirmation message on admingridview button and call a ajax..Dynamic

Updated 2 months ago by yiimTips0 comments – viewed 6,746 times – ( +3 ) – version 1.1
Hi Friends,

Insert a model record using CGridview

Updated 2 months ago by KonApazHow-tos0 comments – viewed 1,464 times – ( +1 ) – 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 2 months ago by KonApazHow-tos0 comments – viewed 1,759 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

Filter & Sort by calculated/related fields in GridView Yii 2.0

Updated 2 months ago by Kartik VTutorials18 comments – viewed 10,332 times – ( +29 / -4 ) – version 2.0
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.

Generate CTreeview from database table and update a model

Updated 2 months ago by KonApazHow-tos0 comments – viewed 1,212 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 2 months ago by KonApazHow-tos7 comments – viewed 9,565 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Visualization tree-multi subcategories as listbox or dropdownlist

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

Managing your nested dropdown dependency with DepDrop widget

Updated 2 months ago by Kartik VTutorials2 comments – viewed 1,998 times – ( +25 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.