Wiki

Sorted by ratingX
Displaying 501-510 of 751 result(s).

How to prevent Login from two places?

Created about a year ago by Rohit SutharTutorials0 comments – viewed 4,779 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 11 months ago by Rohit SutharHow-tos0 comments – viewed 3,384 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 2 years ago by Gerhard LiebenbergHow-tos4 comments – viewed 15,765 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 6 years ago by luoshibenTutorials5 comments – viewed 46,480 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 2 years ago by CTalaHow-tos7 comments – viewed 17,974 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 ).

Moving the vendor directory for multiple projects

Created 7 months ago by mariosimaremareHow-tos2 comments – viewed 4,942 times – ( +4 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

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

Created about a year ago by Gerhard LiebenbergHow-tos0 comments – viewed 12,845 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.

How To Connect With Twitter From Yii

Created 6 years ago by lucifuriousTutorials1 comment – viewed 22,196 times – ( +4 / -1 ) – version 1.1
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter

WordPress Role Based Authentication in Yii

Created about a year ago by Bob GTutorials0 comments – viewed 7,800 times – ( +4 / -1 ) – version 1.1
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.

simple CSV export

Created 2 years ago by bluyellHow-tos5 comments – viewed 18,854 times – ( +4 / -1 ) – version 1.1
tags: csv, excel, export