Wiki

Articles in category "how-tos"X
Displaying 91-100 of 306 result(s).

How to include Javascript, CSS

Created 11 months ago by InterboyHow-tos2 comments – viewed 289,055 times – ( +7 / -2 ) – version 1.1
There are many methods that we can include javascript, css into your Yii App. Today I will demonstrate three simple and helpul methods.

Remove Byte Order Mark (BOM) from files recursively

Created 11 months ago by KonApazHow-tos3 comments – viewed 5,060 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 11 months ago by InterboyHow-tos1 comment – viewed 12,316 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 11 months ago by InterboyHow-tos1 comment – viewed 244,137 times – ( +7 ) – version all
Today I will show you how to handle multiple file upload step by step.

custom sql query results to CDetailView

Created 11 months ago by KonApazHow-tos2 comments – viewed 13,111 times – ( +3 )
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 11 months ago by Gerhard LiebenbergHow-tos3 comments – viewed 10,171 times – ( +7 / -1 ) – version 1.1
Most of the currently available functions/extensions/behaviors directly or indirectly use timestamps to perform "format" and "timezone" conversions. This creates problems for dates falling outside the timestamp range; and the two forms of conversions must often be done in separate processes. However, by using php's DateTime class (instead of timestamps), we can do both 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 daylight saving times and more importantly, historical changes in timezones and daylight saving times.

get summary of related model via STAT relation

Created 11 months ago by rootbearHow-tos2 comments – viewed 7,509 times – ( +7 / -1 ) – version 1.1
typical scenario: invoice, invoice items.

Add Beautiful Radio/Checkbox Buttons To Grid

Created about a year ago by waterloomattHow-tos1 comment – viewed 13,289 times – ( +9 / -2 )
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 about a year ago by Narender NegiHow-tos0 comments – viewed 5,221 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 about a year ago by Narender NegiHow-tos0 comments – viewed 2,775 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/