Wiki

Sorted by ratingX
Displaying 481-490 of 692 result(s).

Open Dialog from ajax content

Created about a year ago by TouzasHow-tos1 comment – viewed 11,081 times – ( +4 / -1 ) – version 1.1
This tutorial will show you how to create Ajax dialog. It's very simple code.

How to prevent Login from two places?

Created 2 months ago by Rohit SutharTutorials0 comments – viewed 2,707 times – ( +4 / -1 ) – version 1.1
In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.

Client-side form validation using Twitter Bootstrap's Popovers

Created about a year ago by TrejderHow-tos4 comments – viewed 27,861 times – ( +4 / -1 ) – version 1.1
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

defaultScope

Created about a year ago by Gerhard LiebenbergHow-tos4 comments – viewed 11,330 times – ( +4 / -1 ) – version 1.1
This example includes a composite condition as well as an empty condition - as if you bypass or disable defaultScope without using resetScope().

How to insert a Simple Dialog Box

Created 2 years ago by bluyellHow-tos6 comments – viewed 20,392 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 nlacTutorials5 comments – viewed 27,111 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 about a year ago by Rajith RHow-tos3 comments – viewed 12,792 times – ( +9 / -6 ) – version 1.1
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 15,173 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 29,402 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 67,172 times – ( +2 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.