Wiki

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

Activate captcha after unsuccessful login attempts

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos22 comments – viewed 22,601 times – ( +13 / -2 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

A Multi-Tenant Strategy using Yii and MySQL

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

Using CJuiDialog to display flash Messages in Dialogues

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

CSqlDataProvider in CGridView

Created 2 years ago by Kostas Apazidis (KonApaz)Tutorials8 comments – viewed 22,187 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 22,130 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.

Functional Testing in Yii using Goutte and PHPUnit

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

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

Created 2 years ago by hrnairHow-tos2 comments – viewed 21,759 times – ( +7 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

Cron Jobs in Yii

Created 3 years ago by aarondfrancisHow-tos1 comment – viewed 21,733 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,626 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.

defaultScope

Created 3 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 21,555 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().