Wiki

Sorted by date (updated)X
Displaying 421-430 of 784 result(s).

Limit a CGridView field to some preset length.

Updated 4 years ago by le_topHow-tos1 comment – viewed 13,084 times – ( +13 / -1 ) – version 1.1
Sometimes text inside a gridview column is just too long. That's why I figured out a way to make the column smaller while still providing the information.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Updated 4 years ago by le_topTips0 comments – viewed 9,729 times – ( +5 / -1 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

How to change Migration Table name and use defined prefix.

Updated 4 years ago by jambandHow-tos1 comment – viewed 10,715 times – ( +3 / -1 ) – version 1.1
To accomplish the task of changing Migration table's name, by default tbl_migration, you need to add the following in your ./protected/config/console.php.

Using Google Maps in Yii Applications via Jquery

Updated 4 years ago by bluyellHow-tos2 comments – viewed 15,505 times – ( +3 / -2 ) – version 1.1

YiiBooster: How to implement files and images upload on TbRedactor Widget

Updated 4 years ago by Antonio RamirezHow-tos3 comments – viewed 25,659 times – ( +13 / -1 ) – version 1.1
I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial.

CjuiDatepicker

Updated 4 years ago by hiral darjiTips1 comment – viewed 7,874 times – ( +3 / -1 ) – version 1.1
If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

using jqbargraph to create beautiful graphs

Updated 4 years ago by MAHESH.E.UTips1 comment – viewed 8,447 times – ( +5 / -1 ) – version 1.1
If you are about to create a graph, the best option i would suggest is the jqbargraph.

Send mail using YiiMail extension

Updated 4 years ago by RKATutorials10 comments – viewed 71,405 times – ( +9 / -1 ) – version 1.1
Let me show a simpe example to send mail using YiiMail extension in 5 steps. It also includes any template view if required along with the content.
tags: YiiMail

CGridView: Render customized/complex datacolumns

Updated 4 years ago by JobloTips13 comments – viewed 150,569 times – ( +74 / -1 ) – version 1.1
If you have to display a overview of related data in a table, you can use the CListView, create your view with table/tr/td tags and implement db-queries in the view to display detaildata of the current (master-)record.
tags: CGridView