Wiki

Sorted by viewsX
Displaying 541-550 of 774 result(s).

Implementing a Flat User Access System

Created 3 years ago by TrejderHow-tos1 comment – viewed 10,201 times – ( +9 ) – version 1.1
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

Application-driven database with CDbMigration and an extended CActiveRecord

Created 4 years ago by Tudor IlisoiOthers0 comments – viewed 10,191 times – ( +8 ) – version 1.1
This is an incipient implementation of application-driven database with Yii.
tags: database, model

Preventing CJuiTabs from hiding drop-down CMenu items

Created 5 years ago by Steve FriedlTips1 comment – viewed 10,127 times – ( +4 ) – version 1.1
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

Shrink Yii, help your IDE and speed up copying

Created 4 years ago by dckurushinTips4 comments – viewed 9,983 times – ( +10 / -9 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

CGridView keep focus on the control after filtering

Created 4 years ago by jayalaHow-tos4 comments – viewed 9,890 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Select2 Infinite Scroll With Remote Data in Yii

Created 2 years ago by amanationHow-tos5 comments – viewed 9,882 times – ( +4 ) – version 1.1
I was able to set up the infinite scroll of select2 in Yii. I am glad to share it with you. The demo and source code can be found here. However, select2 for Yii can be found here which uses a widget.

How to make use of a fragment cache

Created 7 years ago by dalipTutorials0 comments – viewed 9,787 times – ( +1 ) – version 1.1
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache

How to get & store Last Login DateTime in database?

Created about a year ago by Rohit SutharHow-tos2 comments – viewed 9,770 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

WordPress Role Based Authentication in Yii

Created 2 years ago by Bob GTutorials0 comments – viewed 9,740 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.