Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 121-130 of 240 result(s).

How to use default layout for error pages instead of errorXXX views

Created 5 years ago by idle signTutorials1 comment – viewed 19,995 times – ( +4 ) – version 1.1
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

Enabling Gzip

Created 5 years ago by pestaaTutorials5 comments – viewed 19,391 times – ( +6 / -1 ) – version 1.1
Adding HTTP compression to your application could never have been easier!

Using CJuiDialog to display flash Messages in Dialogues

Created 4 years ago by thyseusTutorials2 comments – viewed 19,134 times – ( +11 ) – version 1.1
In order to nicely display flash Messages, create view like this called views/site/dialog.php :

Configuring CWebLogRoute for DB profiling

Created 3 years ago by Igor IvanovicTutorials1 comment – viewed 18,711 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

Multilanguage web site controlling by get request and database allowed languages

Created 3 years ago by Igor IvanovicTutorials2 comments – viewed 18,505 times – ( +6 ) – version 1.1
First, you have to have create database table for default language and allowed languages.

How to setup CKeditor

Created 2 years ago by Dark-SunTutorials4 comments – viewed 18,501 times – ( +3 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Functional Testing in Yii using Goutte and PHPUnit

Created 3 years ago by puteraTutorials2 comments – viewed 18,226 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

First Yii App: CTabView

Created 6 years ago by meanpenguinTutorials1 comment – viewed 18,156 times – ( -2 ) – version 1.1
Once you are completed with the "Creating First Yii Application", the following can be done.

Create Yii Project In Cloud9

Created 2 years ago by BenTutorials5 comments – viewed 18,131 times – ( +3 ) – version 1.1
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

How to add a named scope to ActiveRecords with a behavior

Created 6 years ago by MikeTutorials2 comments – viewed 17,914 times – ( +4 ) – version 1.1
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.