Wiki

Sorted by date (updated)X
Displaying 91-100 of 693 result(s).

Logging to Heroku's logs from Yii

Updated 4 months ago by aarondfrancisHow-tos0 comments – viewed 3,305 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 4 months ago by Kartik VHow-tos0 comments – viewed 1,457 times – ( +28 ) – version 2.0
The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

Save or Update Multiple related model values in one Tabular input form

Updated 4 months ago by KonApazTutorials4 comments – viewed 2,892 times – ( +1 / -6 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

Render a form in a Modal Popup using ajax

Updated 4 months ago by thiagoc7How-tos5 comments – viewed 9,597 times – ( +5 ) – version 2.0
Nowdays is very common webapps use this feature. With Yii2 this is very easy.
tags: yii2, AJAX, modal

shortcut/usefull access roles methods RBAC

Updated 4 months ago by KonApazTutorials5 comments – viewed 1,540 times – ( +1 ) – version 1.1
These are functions that I used very often, may helps you!

Check online users / set specific user offline

Updated 4 months ago by KonApazHow-tos0 comments – viewed 1,797 times – ( +3 ) – 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

Filter & Sort by Summary Data in GridView Yii 2.0

Updated 4 months ago by Kartik VTutorials5 comments – viewed 3,838 times – ( +27 / -4 ) – version 2.0
This wiki explains how to add summary data from related models into your Yii Framework 2.0 gridview with filtering and sorting by the summary columns.

Simple Ajax popup

Updated 4 months ago by Rajith RTutorials1 comment – viewed 20,462 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

Searching and sorting by related model in CGridView

Updated 4 months ago by KonApazTutorials75 comments – viewed 123,905 times – ( +112 ) – version 1.1
Lets say we have two models and relation between them:

Update specific cgridview html row after AJAX request

Updated 4 months ago by KonApazHow-tos3 comments – viewed 3,587 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)