Wiki

Displaying 241-250 of 766 result(s).

Multi Data Provider

Created 2 years ago by Sharon LavieTips0 comments – viewed 7,303 times – ( +1 ) – version 1.1
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

Remove Byte Order Mark (BOM) from files recursively

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 11,232 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 2 years ago by InterboyHow-tos1 comment – viewed 19,850 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 2 years ago by InterboyHow-tos2 comments – viewed 257,943 times – ( +7 ) – version all
Today I will show you how to handle multiple file upload step by step.

Simple Ajax popup

Created 2 years ago by Rajith RTutorials1 comment – viewed 31,708 times – ( +11 / -13 ) – version 1.1
Simple Ajax popup view with Ajax link

custom sql query results to CDetailView

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 27,341 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 17,057 times – ( +8 / -1 ) – version 1.1
Countries sometimes change their laws pertaining to timezones 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 "timezone" 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 timezones and daylight saving times.

get summary of related model via STAT relation

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

Ajax Login form with validation errors inside jQuery modal dialog

Created 2 years ago by praviTutorials4 comments – viewed 31,707 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

Clean JavaScript code in your views

Created 2 years ago by nineinchnickTutorials6 comments – viewed 26,486 times – ( +20 ) – version all
This tutorial presents a way of separating JS code from views and passing to it values from PHP.