Wiki

Sorted by date (updated)X
Displaying 381-390 of 752 result(s).

Implementing a Flat User Access System

Updated 2 years ago by TrejderHow-tos1 comment – viewed 9,024 times – ( +9 ) – 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 2 years ago by le_topHow-tos1 comment – viewed 10,075 times – ( +13 ) – 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 2 years ago by le_topTips0 comments – viewed 7,768 times – ( +5 ) – 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 2 years ago by jambandHow-tos1 comment – viewed 7,428 times – ( +3 ) – 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 2 years ago by bluyellHow-tos2 comments – viewed 12,055 times – ( +2 / -1 ) – version 1.1

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

Updated 2 years ago by Antonio RamirezHow-tos3 comments – viewed 21,656 times – ( +13 ) – 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 2 years ago by hiral darjiTips1 comment – viewed 6,439 times – ( +3 ) – 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 2 years ago by MAHESH.E.UTips1 comment – viewed 6,747 times – ( +5 ) – 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 2 years ago by RKATutorials8 comments – viewed 49,519 times – ( +8 ) – 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