Wiki

Articles in category "tutorials", sorted by date (updated)X
Displaying 81-90 of 242 result(s).

default csrf security and ajax post in one controller

Updated about a year ago by CeBeTutorials3 comments – viewed 8,188 times – ( +1 / -3 ) – version 1.1
Hello Yii friends

Extension Development (beginner)

Updated about a year ago by CeBeTutorials2 comments – viewed 17,466 times – ( +34 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Database Driven CMenu

Updated about a year ago by CeBeTutorials0 comments – viewed 3,424 times – version 1.1
Purpose

Tags manipulation using Select2 in single field

Updated about a year ago by CeBeTutorials0 comments – viewed 4,213 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

Integrate Zend 2 XML writer into Yii

Updated about a year ago by CeBeTutorials0 comments – viewed 3,602 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

Saving CGridView filter

Updated about a year ago by CeBeTutorials5 comments – viewed 5,844 times – ( +27 ) – version 1.1
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps

CSqlDataProvider in CGridView

Updated about a year ago by CeBeTutorials8 comments – viewed 14,425 times – ( +8 ) – version 1.1
In this wiki I will show how could use a CSqlDataProvider in CGridView with specific features

Making a CGridView to keep the selection between page changes

Updated about a year ago by CeBeTutorials0 comments – viewed 4,021 times – ( +1 / -1 ) – version 1.1
You may find this usefull when you discover your CGridView lost the selection after an update or after a page change, nicely i have build a new extension to cover this problem in a very easy way.

Installing Yii Users and Rights to Newly Created Yii app

Updated about a year ago by Rajith RTutorials25 comments – viewed 71,683 times – ( +23 / -10 ) – version 1.1
After creating an yii app . we need to implement permission, Authentication and Authorization .so the best way is to use the Yii users and Rights modules.

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

Updated about a year ago by Anas AbuDayahTutorials5 comments – viewed 30,821 times – ( +5 / -1 ) – version 1.1
I found a better solution.
tags: Yii, user, rbac