Wiki

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

Remove Byte Order Mark (BOM) from files recursively

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 15,515 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 3 years ago by InterboyHow-tos1 comment – viewed 22,888 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

Multiple files uploader with CMultiFileUpload

Created 3 years ago by InterboyHow-tos2 comments – viewed 262,901 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 3 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 31,368 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 3 years ago by Gerhard LiebenbergHow-tos3 comments – viewed 19,780 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 3 years ago by rootbearHow-tos2 comments – viewed 15,404 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Add Beautiful Radio/Checkbox Buttons To Grid

Created 3 years ago by waterloomattHow-tos1 comment – viewed 23,070 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 3 years ago by Narender NegiHow-tos0 comments – viewed 9,055 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 3 years ago by Narender NegiHow-tos0 comments – viewed 4,486 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 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 14,624 times – ( +4 ) – version 1.1
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?