Wiki

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

Clean JavaScript code in your views

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

Using CJuiDialog to display flash Messages in Dialogues

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

Multilanguage web site controlling by get request and database allowed languages

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

First Yii App: CTabView

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

Configuring CWebLogRoute for DB profiling

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

How to setup CKeditor

Created 2 years ago by Dark-SunTutorials4 comments – viewed 17,507 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 17,504 times – ( +7 ) – version 1.1
Functional Testing in Yii using Goutte and PHPUnit

How to add a named scope to ActiveRecords with a behavior

Created 5 years ago by MikeTutorials2 comments – viewed 17,075 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.

Create Yii Project In Cloud9

Created 2 years ago by BenTutorials5 comments – viewed 16,782 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.

Integrating with other frameworks

Created 5 years ago by KJediTutorials4 comments – viewed 16,589 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps: