Wiki

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

Implementing a Flat User Access System

Created 3 years ago by TrejderHow-tos1 comment – viewed 10,276 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,241 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,183 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.

How to get & store Last Login DateTime in database?

Created 2 years ago by Rohit SutharHow-tos2 comments – viewed 10,116 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).

Create Form With DynamicModel

Created about a year ago by Misbahul D MunirTips4 comments – viewed 10,073 times – ( +1 ) – version 2.0
In yii2 we can create form without create FormModel. Here we go
tags: form, yii2, model

Select2 Infinite Scroll With Remote Data in Yii

Created 2 years ago by amanationHow-tos5 comments – viewed 10,072 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 use yii2-authclient to communicate with Twitter using Single Access Token

Created 2 years ago by Antonio RamirezHow-tos2 comments – viewed 10,042 times – ( +4 ) – version 2.0
This tutorial is not about allowing users to sign into your application by using any of the OAuth providers available with the official yii2-authclient extension, it is about how to interact with your Twitter account, the one you set for your Yii2 app to promote your site, using the Single Access Token technique.

Shrink Yii, help your IDE and speed up copying

Created 4 years ago by dckurushinTips4 comments – viewed 10,037 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,989 times – ( +6 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter