Wiki

Sorted by ratingX
Displaying 531-540 of 786 result(s).

Role Management

Created 3 years ago by Dency G BHow-tos0 comments – viewed 12,408 times – ( +3 / -1 ) – 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

Configuring CWebLogRoute for DB profiling

Created 6 years ago by Igor IvanovicTutorials1 comment – viewed 26,789 times – ( +3 / -1 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Created 3 years ago by SmitheshHow-tos1 comment – viewed 11,342 times – ( +3 / -1 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

Inline views, write less

Created 4 years ago by FirebreakerTips0 comments – viewed 7,119 times – ( +3 / -1 )
Sometimes writing views like

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 4 years ago by Gerhard LiebenbergHow-tos0 comments – viewed 17,957 times – ( +4 / -2 ) – version 1.1
If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

How To Connect With Twitter From Yii

Created 8 years ago by lucifuriousTutorials1 comment – viewed 25,701 times – ( +4 / -2 ) – version 1.1
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter

WordPress Role Based Authentication in Yii

Created 4 years ago by Bob GTutorials0 comments – viewed 12,077 times – ( +4 / -2 ) – 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.

simple CSV export

Created 5 years ago by bluyellHow-tos6 comments – viewed 31,683 times – ( +4 / -2 ) – version 1.1
tags: csv, excel, export

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Created 5 years ago by skwordenHow-tos4 comments – viewed 20,983 times – ( +4 / -2 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

Using CJuiDialog to edit rows in a CGridView

Created 6 years ago by Russell EnglandTips8 comments – viewed 34,820 times – ( +4 / -2 ) – version 1.1
I have a CGridView with a list of clients/events. For each row (EventClient) I wanted a quick edit dialog.