Wiki

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

Inline views, write less

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

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

Created 3 years ago by Gerhard LiebenbergHow-tos0 comments – viewed 17,007 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 7 years ago by lucifuriousTutorials1 comment – viewed 24,741 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,003 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 4 years ago by bluyellHow-tos6 comments – viewed 28,406 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 4 years ago by skwordenHow-tos4 comments – viewed 19,513 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 5 years ago by Russell EnglandTips8 comments – viewed 33,481 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 16,572 times – ( +4 / -2 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

Client-side form validation using Twitter Bootstrap's Popovers

Created 4 years ago by TrejderHow-tos4 comments – viewed 36,665 times – ( +4 / -2 ) – version 1.1
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

Shrink Yii, help your IDE and speed up copying

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