Wiki

Sorted by ratingX
Displaying 471-480 of 687 result(s).

How to insert a Simple Dialog Box

Created 2 years ago by bluyellHow-tos4 comments – viewed 19,626 times – ( +5 / -2 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

A simple way to get Yii client-side form validation run when submitting by ajax

Created about a year ago by nlacTutorials3 comments – viewed 24,609 times – ( +5 / -2 ) – version 1.1
A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

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

Created 11 months ago by Rajith RHow-tos3 comments – viewed 11,245 times – ( +9 / -6 )
create a class file under protected\components named RActiveRecord.php

Performance - A Guide For Best Practice

Created 4 years ago by Y!!Tutorials3 comments – viewed 14,794 times – ( +8 / -5 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Exporting CGridView results to CSV file

Created 2 years ago by RusAlexTutorials9 comments – viewed 28,092 times – ( +6 / -3 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

How to setup yiic on WAMP (XP/Vista)

Created 5 years ago by krillzipTutorials3 comments – viewed 65,797 times – ( +2 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

Search a file size range in CGridView

Created about a year ago by CrazyCatTips0 comments – viewed 3,255 times – ( +2 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".

Advanced CTabView using CClipWidget

Created 5 years ago by krillzipTutorials1 comment – viewed 9,991 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

How to log context information to logger (session id, user, ...)

Created 5 years ago by olafureTutorials0 comments – viewed 11,940 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 11 months ago by Ankit ModiTutorials2 comments – viewed 6,694 times – ( +2 )
1) include the fancybox extesion otherwise fancybox js