Wiki

Sorted by ratingX
Displaying 81-90 of 467 result(s).

Creating Yii applications with composer

Created 7 months ago by schmunkTutorials0 comments – viewed 12,258 times – ( +19 )
Creating Yii applications with composer

How to add more information to Yii::app()->user

Created 4 years ago by qiangTutorials1 comment – viewed 66,994 times – ( +18 )
By default, the expression Yii::app()->user returns a CWebUser application component which represents the information that are closely related with the current user. Some information can be persistent throughout the current user session. For example, CWebUser already comes with a name property that stores the username of the current user.

The Comedy of Errors

Created about a year ago by fsbOthers3 comments – viewed 5,122 times – ( +18 )
Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

Using search engine and user friendly URLs

Created 3 years ago by qiangTutorials6 comments – viewed 38,607 times – ( +18 )
The Definitive Guide introduces the fundamentals of managing URLs in a Yii application. In this tutorial, we introduce a practical technique that can quickly turn your application into using search-engine-friendly URLs.
tags: SEO, URL

Using the configuration file, explain what can be configured.

Created 3 years ago by atrandafirTutorials0 comments – viewed 26,196 times – ( +18 )
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

Integrating Wordpress and Yii: still another approach, using Yii as the router/controller

Created about a year ago by fr0d0zHow-tos12 comments – viewed 13,175 times – ( +18 )
A lot of people have written posts on integrating Yii and WordPress. This article combines goncin's approach with an article I read about integrating Symfony and WordPress and applies it all to Yii and WordPress.

The complete beginner's study guide for the Yii Framework

Created 7 months ago by Rodrigo CoelhoTips2 comments – viewed 16,912 times – ( +18 )
Start studying the MVC pattern. You will understand the roles of the model, the view and the controller and know where goes each part of the code.

Implementing cron jobs with Yii

Created 2 years ago by samdarkHow-tos4 comments – viewed 28,768 times – ( +26 / -1 )
There are two ways to run a cron job:
tags: cron, cli

How to validate CSRF token with session

Created about a year ago by yangmlsHow-tos0 comments – viewed 17,532 times – ( +17 )
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

Using Yii with Nginx and PHP-FPM

Created 2 years ago by LericHow-tos10 comments – viewed 25,689 times – ( +17 )
This config is built on an Ubuntu 11.04 server. Software is nginx, php-fpm (php5-fpm). For performance, it's recommended to run php-fpm in SOCKET mode, instead of accessing via IP:PORT. That is the method shown below.