Wiki

Sorted by viewsX
Displaying 561-570 of 784 result(s).

Managing a star rating with the StarRating widget in Yii 2

Created 2 years ago by Kartik VHow-tos4 comments – viewed 11,167 times – ( +38 / -5 ) – version 2.0
In Yii 1.x, there was a built in widget CStarRating based on the jquery star rating plugin. There exists no prebuilt solution in Yii2, however the same concepts can be extended using any jquery plugin.

Implementing a Flat User Access System

Created 4 years ago by TrejderHow-tos1 comment – viewed 11,033 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.

WordPress Role Based Authentication in Yii

Created 3 years ago by Bob GTutorials0 comments – viewed 10,901 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.

Application-driven database with CDbMigration and an extended CActiveRecord

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

关于Yii CHttpSession性能优化篇之源码流程分析

Created 5 years ago by Darwin WenTips0 comments – viewed 10,832 times – ( +1 / -1 ) – version 1.1
当我们使用Yii数据库去保存Session时,只要简单的配置就可以完成这个功能,在进行性能优化这个主题之前,我们先来查看一下CHttpSession和CDBHttpSession源代码,探讨CHttpSession和CDBHttpSession的流程再进行深一步优化主题。

View a related field in CGridView

Created 2 years ago by rafaelt88Tips1 comment – viewed 10,814 times – ( +6 ) – version 1.1
Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 10,765 times – ( +3 ) – version 2.0
Implementing a role based access control is a very easy process and you can even load your roles from the database if you want.
tags: rbac, yii2

Preventing CJuiTabs from hiding drop-down CMenu items

Created 6 years ago by Steve FriedlTips1 comment – viewed 10,729 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.

CGridView keep focus on the control after filtering

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

How to make use of a fragment cache

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