Wiki

Sorted by viewsX
Displaying 351-360 of 785 result(s).

Escape from Default's Yii2 Delete Confirm Box

Created 2 years ago by Antonio RamirezHow-tos8 comments – viewed 22,229 times – ( +9 / -1 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

Using CJuiDialog to display flash Messages in Dialogues

Created 6 years ago by thyseusTutorials2 comments – viewed 22,196 times – ( +11 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

A Multi-Tenant Strategy using Yii and MySQL

Created 3 years ago by JFReyesHow-tos9 comments – viewed 22,120 times – ( +10 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

Functional Testing in Yii using Goutte and PHPUnit

Created 5 years ago by puteraTutorials2 comments – viewed 21,857 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

CSqlDataProvider in CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials8 comments – viewed 21,845 times – ( +8 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

Managing your nested dropdown dependency with DepDrop widget

Created 2 years ago by Kartik VTutorials6 comments – viewed 21,550 times – ( +37 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

Cron Jobs in Yii

Created 3 years ago by aarondfrancisHow-tos1 comment – viewed 21,519 times – ( +4 ) – version 1.1
I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

How to add a named scope to ActiveRecords with a behavior

Created 7 years ago by MikeTutorials2 comments – viewed 21,481 times – ( +4 ) – version 1.1
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

Multilanguage web site controlling by get request and database allowed languages

Created 5 years ago by Igor IvanovicTutorials2 comments – viewed 21,448 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

defaultScope

Created 3 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 21,313 times – ( +5 / -1 ) – version 1.1
This example includes a composite condition as well as an empty condition - as if you bypass or disable defaultScope without using resetScope().