Wiki

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

WordPress Role Based Authentication in Yii

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

Preventing CJuiTabs from hiding drop-down CMenu items

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

Background task with Ajax

Created 11 months ago by Alexandre RodichevskiTutorials0 comments – viewed 10,548 times – version 1.1
Web applications normally execute almost immediately the user's requests. But some requests, like statistical reports, take long time to execute.

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

Created 5 years ago by Darwin WenTips0 comments – viewed 10,545 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,521 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".

CGridView keep focus on the control after filtering

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

How to create/update a model with its related items using Listbox or CheckboxList

Created about a year ago by softarkTutorials1 comment – viewed 10,451 times – ( +4 ) – version 2.0
Assume we have many categories and many posts.

Role Management

Created 2 years ago by Dency G BHow-tos0 comments – viewed 10,449 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

How to make use of a fragment cache

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

Shrink Yii, help your IDE and speed up copying

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