Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 121-130 of 352 result(s).

Logging to Heroku's logs from Yii

Updated 2 years ago by aarondfrancisHow-tos0 comments – viewed 5,085 times – ( +2 ) – version 1.1
In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the boot.sh script and add the following two lines:
tags: heroku, Logging

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

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

Check online users / set specific user offline

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 6,959 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 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 10,752 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)

Yii Installation guide for advanced application template ( 3 step )

Updated 2 years ago by nirmalrokaHow-tos0 comments – viewed 6,785 times – ( +1 ) – version 2.0

Insert a model record using CGridview

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 8,108 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 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 11,863 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 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 5,193 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 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 15,903 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Visualization tree-multi subcategories as listbox or dropdownlist

Updated 2 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 14,048 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?