Wiki

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

Managing a star rating with the StarRating widget in Yii 2

Created 2 years ago by Kartik VHow-tos4 comments – viewed 10,472 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.

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

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

CGridView keep focus on the control after filtering

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

YII2 : simple language Switcher Widget

Created about a year ago by phunsanitTutorials0 comments – viewed 10,342 times – ( +1 ) – version 2.0
ภาษาไทย YII 2 Widget เปลี่ยนภาษา

View a related field in CGridView

Created 2 years ago by rafaelt88Tips1 comment – viewed 10,335 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".

How to make use of a fragment cache

Created 7 years ago by dalipTutorials0 comments – viewed 10,317 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,304 times – ( +10 / -9 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

Role Management

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

Using the jamselect widget with min and max values

Created 6 years ago by got 2 doodleHow-tos0 comments – viewed 10,185 times – ( +2 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.

Using recaptchlib in your projects

Created 6 years ago by Antonio RamirezHow-tos2 comments – viewed 10,157 times – ( +5 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.