Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 101-110 of 341 result(s).

Logging to Heroku's logs from Yii

Updated about a year ago by aarondfrancisHow-tos0 comments – viewed 4,087 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 about a year ago by Kartik VHow-tos0 comments – viewed 3,819 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 about a year ago by Kostas Apazidis (KonApaz)How-tos2 comments – viewed 4,099 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 about a year ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 7,460 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 about a year ago by nirmalrokaHow-tos0 comments – viewed 3,190 times – ( +1 ) – version 2.0

Insert a model record using CGridview

Updated about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 5,321 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 about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 7,693 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 about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 3,175 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 about a year ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 13,174 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

Visualization tree-multi subcategories as listbox or dropdownlist

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