Wiki

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

Configuring CWebLogRoute for DB profiling

Created 6 years ago by Igor IvanovicTutorials1 comment – viewed 26,060 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 10,607 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 6,862 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,631 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,338 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 3 years ago by Bob GTutorials0 comments – viewed 11,697 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 30,522 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,479 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,353 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.

Open Dialog from ajax content

Created 4 years ago by TouzasHow-tos1 comment – viewed 17,209 times – ( +4 / -2 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.