Wiki

Sorted by date (updated)X
Displaying 171-180 of 774 result(s).

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

Updated about a year ago by parthshahHow-tos4 comments – viewed 23,864 times – ( +9 / -6 ) – version 1.1
create a class file under protected\components named RActiveRecord.php

Role Management

Updated about a year ago by Dency G BHow-tos0 comments – viewed 9,101 times – ( +3 ) – 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 about a year ago by Rohit SutharTutorials6 comments – viewed 19,839 times – ( +4 / -7 ) – version 1.1
login links will be

Using updateAll and deleteAll with scopes

Updated about a year ago by le_topHow-tos4 comments – viewed 22,107 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 about a year ago by Rohit SutharTips2 comments – viewed 25,706 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 about a year ago by tophHow-tos2 comments – viewed 30,277 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 about a year ago by Rohit SutharTips4 comments – viewed 45,138 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().

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

Updated 2 years ago by Ankit ModiHow-tos0 comments – viewed 6,281 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.

Forcing login for all pages using CBehavior

Updated 2 years ago by Rohit SutharTutorials3 comments – viewed 8,141 times – ( +5 / -6 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

How to display Dependent drop-down value using ajax call with dynamically

Updated 2 years ago by Ankit ModiTutorials4 comments – viewed 25,816 times – ( +3 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.