Wiki

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

config Use MS SQL SERVER 2005 2008.

Created 6 years ago by vcxz_1982Tutorials2 comments – viewed 55,115 times – ( +4 / -1 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

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

Created 8 years ago by OriginalCopyTutorials4 comments – viewed 39,432 times – ( +5 / -2 ) – version 1.1
The Yii documentation states:
tags: module

Integrating with other frameworks

Created 8 years ago by KJediTutorials4 comments – viewed 21,789 times – ( +5 / -2 ) – 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 7 years ago by emixTutorials5 comments – viewed 37,308 times – ( +5 / -2 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac

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

Created 3 years ago by Rohit SutharTutorials6 comments – viewed 29,304 times – ( +5 / -2 ) – 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 3 years ago by Rohit SutharTutorials0 comments – viewed 9,272 times – ( +5 / -2 ) – 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.

Performance - A Guide For Best Practice

Created 7 years ago by Y!!Tutorials3 comments – viewed 19,649 times – ( +8 / -6 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Exporting CGridView results to CSV file

Created 5 years ago by RusAlexTutorials9 comments – viewed 47,716 times – ( +6 / -4 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

YII SaaS Multi Tenant application with single database

Created 4 years ago by Rajith RTutorials5 comments – viewed 16,523 times – ( +11 / -11 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

[Updated] How to create & call custom global function in whole application?

Created 3 years ago by Rohit SutharTutorials8 comments – viewed 17,592 times – ( +5 / -3 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.