Wiki

Sorted by viewsX
Displaying 451-460 of 784 result(s).

Changing Controllers Name

Created 6 years ago by TrejderHow-tos0 comments – viewed 16,571 times – ( +5 / -1 ) – 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.

YII SaaS Multi Tenant application with single database

Created 4 years ago by Rajith RTutorials5 comments – viewed 16,539 times – ( +11 / -11 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

checkBox in CGridview

Created 2 years ago by n-rOthers1 comment – viewed 16,503 times – ( +1 / -1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :

Login Form With email or Whatever

Created 3 years ago by nabil abdoualiHow-tos1 comment – viewed 16,477 times – ( -3 ) – version 1.1
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

Yii2 and Pdf files with Mpdf

Created 3 years ago by CTalaHow-tos2 comments – viewed 16,411 times – ( +7 / -1 ) – version 2.0
I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

How to create the custom Drop-down using CHtml::dropDownList

Created 3 years ago by Ankit ModiHow-tos1 comment – viewed 16,387 times – ( -1 ) – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

Auto TDD - How to auto-run PHPUnit

Created 6 years ago by imeheszTips3 comments – viewed 16,212 times – ( +3 / -2 ) – 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 re enable logging during unit testing

Created 5 years ago by AsgarothHow-tos3 comments – viewed 16,153 times – ( +11 / -1 ) – version 1.1
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Update CGridview row separately using ajax request

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos10 comments – viewed 16,146 times – ( +8 / -1 ) – version 1.1
There are cases you want to update a record on CGridview directly

How to pass the third parameter to UserIdentity on login authentication

Created 2 years ago by Rohit SutharHow-tos6 comments – viewed 16,131 times – ( +2 / -1 ) – version 1.1
In this wiki I will show how could wo pass the third parameter to UserIdentity on login authenticate. So we can do separate login authentcation from two or more different models from single login form.