Wiki

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

Understanding the view rendering flow

Updated 4 years ago by JorgeeFAQs16 comments – viewed 199,479 times – ( +96 / -4 ) – version 1.1
There is a lot of confusion surrounding what is happening behind the scenes when you render a view.

Implementing a Flat User Access System

Updated 4 years ago by TrejderHow-tos1 comment – viewed 11,584 times – ( +9 / -1 ) – 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.

Limit a CGridView field to some preset length.

Updated 4 years ago by le_topHow-tos1 comment – viewed 13,612 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 10,090 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 11,155 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,938 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 26,153 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 8,076 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,638 times – ( +5 / -1 ) – version 1.1
If you are about to create a graph, the best option i would suggest is the jqbargraph.