Wiki

Sorted by ratingX
Displaying 511-520 of 774 result(s).

Add information to Yii::app()->user by extending CWebUser (better version)

Created 5 years ago by emixTutorials5 comments – viewed 34,553 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

Install, update and use Yii with WAMP server

Created 3 years ago by mrsHow-tos5 comments – viewed 42,567 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Twitter Bootstrap style Breadcrumbs

Created 3 years ago by junaidatariHow-tos0 comments – viewed 17,491 times – ( +5 / -1 ) – version 1.1
1: Create breadcrumb in your view file.

Yii Change Password with use of old and repeat password using bootstrap TbActiveForm

Created 2 years ago by Rohit SutharTutorials6 comments – viewed 21,885 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

How to prevent Login from two places?

Created 2 years ago by Rohit SutharTutorials0 comments – viewed 7,255 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.

How to show a Captcha in CForm?

Created 2 years ago by Rohit SutharHow-tos0 comments – viewed 6,022 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.
tags: captcha, CForm, widget

defaultScope

Created 3 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 19,796 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().

Using CAutoComplete to display one value and submit another

Created 7 years ago by luoshibenTutorials5 comments – viewed 49,788 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

A simple go back button widget

Created 3 years ago by CTalaHow-tos7 comments – viewed 21,394 times – ( +8 / -3 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 3 years ago by Gerhard LiebenbergHow-tos0 comments – viewed 15,592 times – ( +4 / -1 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.