Wiki

Sorted by date (updated)X
Displaying 71-80 of 685 result(s).

Logging to Heroku's logs from Yii

Updated 2 months ago by aarondfrancisHow-tos0 comments – viewed 3,119 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 months ago by Kartik VHow-tos0 comments – viewed 1,090 times – ( +25 ) – 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 2 months ago by KonApazTutorials4 comments – viewed 1,472 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 2 months ago by thiagoc7How-tos3 comments – viewed 4,372 times – ( +4 ) – 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 2 months ago by KonApazTutorials5 comments – viewed 1,124 times – ( +1 ) – version 1.1
These are functions that I used very often, may helps you!

Check online users / set specific user offline

Updated 2 months ago by KonApazHow-tos0 comments – viewed 1,259 times – ( +1 ) – 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 2 months ago by Kartik VTutorials5 comments – viewed 2,372 times – ( +24 / -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 2 months ago by Rajith RTutorials1 comment – viewed 18,593 times – ( +10 ) – version 1.1
Simple Ajax popup view with Ajax link

Searching and sorting by related model in CGridView

Updated 2 months ago by KonApazTutorials74 comments – viewed 118,213 times – ( +109 ) – version 1.1
Lets say we have two models and relation between them:

Update specific cgridview html row after AJAX request

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