Wiki

Sorted by date (updated)X
Displaying 21-30 of 693 result(s).

Using updateAll and deleteAll with scopes

Updated about a month ago by le_topHow-tos4 comments – viewed 2,504 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 month ago by Rohit SutharTips2 comments – viewed 16,432 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 month ago by tophHow-tos2 comments – viewed 10,952 times – ( -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 month ago by Rohit SutharTips4 comments – viewed 28,848 times – ( +6 / -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 about a month ago by Rohit SutharOthers2 comments – viewed 41,549 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 about a month ago by Ankit ModiHow-tos0 comments – viewed 1,619 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 about a month ago by Rohit SutharTutorials3 comments – viewed 3,558 times – ( +4 / -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 months ago by Ankit ModiTutorials2 comments – viewed 4,346 times – ( +1 / -2 ) – version all
Hi Friends, In this tutorial I write a code display dependent drop-down value using ajax call.

Display Status image on CGridView column

Updated 2 months ago by Ankit ModiTutorials1 comment – viewed 7,311 times – ( +1 / -1 ) – version all
How to display status image on admin gridview.

Manage Email Template content from database

Updated 2 months ago by Ankit ModiTutorials2 comments – viewed 1,712 times – ( -4 ) – version all
Hi Friends,