Sorted by viewsX
Displaying 381-390 of 779 result(s).

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 5 years ago by Antonio RamirezTutorials2 comments – viewed 19,066 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

MVC primer and 5 minute form walkthrough

Created 4 years ago by rix.rix.Tutorials0 comments – viewed 19,005 times – ( +8 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

Popup AJAX DialogBox without any extension

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 19,004 times – ( +8 / -1 ) – version 1.1
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

How to use Highslide for image popups

Created 7 years ago by mocapapaTutorials0 comments – viewed 18,984 times – ( +1 ) – version 1.1
You can download the highslide javascript from And here is an explanation on that URL;
tags: image, popups

"safe" and "unsafe" Model validators (massive assignments)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos4 comments – viewed 18,859 times – ( +4 / -6 ) – version 1.1
Ok, it is a little bit difficult to full understanding the unsafe validator.

Auto set model fields values

Created 4 years ago by vibhaJadwaniTutorials3 comments – viewed 18,846 times – ( +9 ) – version 1.1
This is a tutorial for how to auto set model values without any code.

How to setup FCKeditor

Created 7 years ago by krillzipTutorials2 comments – viewed 18,608 times – ( +3 / -1 ) – version 1.1
To start with you need to download the latest stable release of FCKeditor. Extract the downloaded file and place the fckeditor/ folder in your applications webroot directory.

Performance - A Guide For Best Practice

Created 6 years ago by Y!!Tutorials3 comments – viewed 18,608 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

Cheat Sheet: Displaying Name instead of Numbers and Displaying Alphanumeric instead of numeric values

Created 3 years ago by skwordenHow-tos4 comments – viewed 18,337 times – ( +4 / -1 ) – version 1.1
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.

How to register scripts and css

Created about a year ago by oligalmaHow-tos0 comments – viewed 18,313 times – version 1.1
First of all, we need to download the jQuery library and store it in the js folder. In this example we are using the version 2.1.3.