Wiki

Sorted by date (updated)X
Displaying 131-140 of 751 result(s).

multiple CActiveDataProviders in one CGridView

Updated 10 months ago by NashiHow-tos6 comments – viewed 15,359 times – ( +7 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Multiple Database Connection : Select database based on login user id, Dynamic

Updated 10 months ago by parthshahHow-tos4 comments – viewed 18,572 times – ( +9 / -6 ) – version 1.1
create a class file under protected\components named RActiveRecord.php

Role Management

Updated 10 months ago by Dency G BHow-tos0 comments – viewed 6,243 times – ( +2 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Two Login in same form in Yii application , with two tables

Updated 10 months ago by Rohit SutharTutorials5 comments – viewed 17,318 times – ( +4 / -7 ) – version 1.1
login links will be

Using updateAll and deleteAll with scopes

Updated 10 months ago by le_topHow-tos4 comments – viewed 13,044 times – ( +5 ) – version 1.1
Using CActiveRecord->updateAll() and CActiveRecord->deleteAll() with scopes and criteria requires some tricks that are explained in this article. While findAll() , find() and some other methods use scopes automatically, updateAll() and deleteAll() do not.

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Updated 11 months ago by Rohit SutharTips2 comments – viewed 21,018 times – ( +2 / -1 ) – version 1.1
First of all, You have to find out the class of the desired icon, so visit the http://getbootstrap.com/2.3.2/base-css.html#icons

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Updated 11 months ago by tophHow-tos2 comments – viewed 22,106 times – ( +1 / -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

using multiple radio button

Updated 11 months ago by Rohit SutharTips4 comments – viewed 36,661 times – ( +9 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().

Yii Related Sites

Updated 11 months ago by Rohit SutharOthers3 comments – viewed 45,090 times – ( +34 ) – version 1.1
This is a list of blogs, off-site tutorials and other resources about Yii.

How to sum (Update) of all input button price value using jquery

Updated 11 months ago by Ankit ModiHow-tos0 comments – viewed 4,168 times – ( +1 ) – version all
Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others.