Wiki

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

using editors of yiibooster - fix issues - configuration

Updated 7 months ago by Nur RochimHow-tos0 comments – viewed 5,292 times – ( +5 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

Logging to Heroku's logs from Yii

Updated 7 months ago by aarondfrancisHow-tos0 comments – viewed 3,643 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 7 months ago by Kartik VHow-tos0 comments – viewed 2,344 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 7 months ago by thiagoc7How-tos11 comments – viewed 19,344 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 7 months ago by KonApazHow-tos1 comment – viewed 2,754 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 7 months ago by KonApazHow-tos3 comments – viewed 5,594 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 7 months ago by nirmalrokaHow-tos0 comments – viewed 2,139 times – ( +1 ) – version 2.0

Insert a model record using CGridview

Updated 7 months ago by KonApazHow-tos0 comments – viewed 3,580 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 7 months ago by KonApazHow-tos0 comments – viewed 5,256 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 7 months ago by KonApazHow-tos0 comments – viewed 2,219 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)