Wiki

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

Multiple files uploader with CMultiFileUpload

Created 2 years ago by InterboyHow-tos2 comments – viewed 260,939 times – ( +8 ) – version all
Today I will show you how to handle multiple file upload step by step.

custom sql query results to CDetailView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 29,954 times – ( +3 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Created 2 years ago by Gerhard LiebenbergHow-tos3 comments – viewed 18,609 times – ( +8 / -1 ) – version 1.1
Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different time this August compared to last August! However, by using php's DateTime class (instead of timestamps), we can do both "format" and "time zone" conversions on a single DateTime object (only 2 lines of code) for date, time, timestamp and datetime types - while php takes care of nightmares such as current and historical time zones and daylight saving times.

get summary of related model via STAT relation

Created 2 years ago by rootbearHow-tos2 comments – viewed 14,435 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Add Beautiful Radio/Checkbox Buttons To Grid

Created 2 years ago by waterloomattHow-tos1 comment – viewed 21,991 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,747 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 4,267 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 14,048 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 23,864 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 11,926 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider