Wiki

Articles in category "how-tos"X
Displaying 141-150 of 348 result(s).

Add Beautiful Radio/Checkbox Buttons To Grid

Created 2 years ago by waterloomattHow-tos1 comment – viewed 20,402 times – ( +10 / -2 ) – version 1.1
This is a tutorial on how to create slick looking status buttons to update a model's status via a grid. Note** This tutorial uses Yii Bootstrap for styling.

Make theme and layout option in your site

Created 2 years ago by Narender NegiHow-tos0 comments – viewed 8,223 times – ( +1 )
Here i am writing code how to add option of theme change and layout change in your website.
tags: theme, layouts

make chart from custome queries using amcharts widget

Created 2 years ago by Narender NegiHow-tos0 comments – viewed 3,855 times – ( +2 )
Use this code in your view,make sure to put EAmChartWidget in your extension folder. here is the url of widget http://www.yiiframework.com/extension/eamchartwidget/

Visualization tree-multi subcategories as listbox or dropdownlist

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 13,268 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

Multiple Database Connection : Select database based on login user id, Dynamic

Created 2 years ago by Rajith RHow-tos4 comments – viewed 21,472 times – ( +9 / -6 ) – version 1.1
create a class file under protected\components named RActiveRecord.php

Yii HMVC

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 10,864 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

CGridView Date Range Without Cookies or Session (External Filtering)

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 10,830 times – ( +5 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

How to use Expression in default AccessControl to allow only the owner to do some action

Created 2 years ago by whatifHow-tos2 comments – viewed 28,943 times – ( +8 / -1 ) – version 1.1
Hi Everyone

how to make a dynamic progress bar to show the percentage or status

Created 2 years ago by hehbhehbHow-tos1 comment – viewed 23,073 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

"safe" and "unsafe" Model validators (massive assignments)

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 15,965 times – ( +4 / -6 )
Ok, it is a little bit difficult to full understanding the unsafe validator.