Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 161-170 of 235 result(s).

Make the authentication more securely

Created 5 months ago by KonApazTutorials1 comment – viewed 2,480 times – ( +3 ) – version 1.1
Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

Configuring CWebLogRoute for DB profiling

Created 3 years ago by Igor IvanovicTutorials1 comment – viewed 16,980 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

How to access a component of a module from within the module itself

Created 5 years ago by OriginalCopyTutorials3 comments – viewed 21,584 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Integrating with other frameworks

Created 5 years ago by KJediTutorials4 comments – viewed 16,071 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

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

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

How to prevent Login from two places?

Created 5 months ago by Rohit SutharTutorials0 comments – viewed 3,254 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.

Using CAutoComplete to display one value and submit another

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

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

Created about a year ago by nlacTutorials5 comments – viewed 29,902 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.

How To Connect With Twitter From Yii

Created 5 years ago by lucifuriousTutorials1 comment – viewed 20,896 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 6,132 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.