Wiki

Sorted by ratingX
Displaying 491-500 of 732 result(s).

Install, update and use Yii with WAMP server

Created 2 years ago by mrsHow-tos5 comments – viewed 32,142 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 2 years ago by junaidatariHow-tos0 comments – viewed 14,412 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 8 months ago by Rohit SutharTutorials6 comments – viewed 8,636 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 8 months ago by Rohit SutharTutorials0 comments – viewed 3,826 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 7 months ago by Rohit SutharHow-tos0 comments – viewed 2,570 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 about a year ago by Gerhard LiebenbergHow-tos4 comments – viewed 13,926 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().

RBAC Super Simple with Admin and User

Created 3 months ago by evercodeTutorials6 comments – viewed 10,714 times – ( +8 / -3 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Using CAutoComplete to display one value and submit another

Created 5 years ago by luoshibenTutorials5 comments – viewed 45,185 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 16,544 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 ).

A simple way to get Yii client-side form validation run when submitting by ajax

Created about a year ago by nlacTutorials5 comments – viewed 32,772 times – ( +6 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.