Wiki

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

Popup AJAX DialogBox without any extension

Created about a year ago by KonApazHow-tos6 comments – viewed 13,139 times – ( +7 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

Activate captcha after unsuccessful login attempts

Created about a year ago by KonApazHow-tos21 comments – viewed 13,105 times – ( +11 / -1 ) – version 1.1
Like gmail, if you have tree or more unsuccessful login attemps a captcha appears

A simple class to use a different db for a module

Created 3 years ago by tydeas_drTips2 comments – viewed 13,097 times – ( +9 ) – version 1.1
What would you do if you want/need to have a different than the main database connection in an module's models?

How to call a default layout for every module and how to work <php echo $content; ?>

Created about a year ago by Ankit ModiTips0 comments – viewed 12,960 times – ( -2 )
Hi Friends, Hi Friends, Some common question is difficult to how to create the layout on yii and how to work

Impersonate Users within Yii Framework

Created 3 years ago by WoilTutorials5 comments – viewed 12,917 times – ( +22 ) – version 1.1
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

Auto TDD - How to auto-run PHPUnit

Created 3 years ago by imeheszTips3 comments – viewed 12,792 times – ( +3 / -1 ) – version 1.1
If you are lucky enough and have the privilege to develop on a Linux based environment, this little tip might boost-up your TDD process (at least the Unit Testing part). Please note, that this should work just fine with Apple computers also, but not tested!
tags: PHPUnit, testing, TDD

How to log context information to logger (session id, user, ...)

Created 5 years ago by olafureTutorials0 comments – viewed 12,626 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

Changing Controllers Name

Created 3 years ago by TrejderHow-tos0 comments – viewed 12,618 times – ( +4 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

defaultScope

Created about a year ago by Gerhard LiebenbergHow-tos4 comments – viewed 12,522 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().

BootProgressColumn - Progress Bar Inside GridView Column compatible with 'bootstrap' extension

Created 2 years ago by LuizTips1 comment – viewed 12,485 times – ( +7 ) – version 1.1
A little hint of how to create a progress bar inside the column of the grid, using the 'bootstrap' extension.