Wiki

Displaying 601-610 of 747 result(s).

The directory structure of the Yii project site

Created 4 years ago by qiangOthers40 comments – viewed 130,807 times – ( +82 ) – version 1.1
In this article, we describe the directory structure used by yiiframework.com - the official Yii framework website. While this structure may look overly complicated for small projects or may not be optimal in some sense, we believe it is appropriate for medium or large projects in a team development environment. In fact, we have successfully used the similar structure in some other big projects.
tags: directory, config

Impersonate Users within Yii Framework

Created 4 years ago by WoilTutorials5 comments – viewed 13,689 times – ( +22 ) – version 1.1
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

Using Yii with Nginx and PHP-FPM

Created 4 years ago by LericHow-tos10 comments – viewed 46,805 times – ( +18 ) – version 1.1
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.

Cookie management in Yii

Created 4 years ago by TrejderHow-tos5 comments – viewed 103,121 times – ( +42 / -1 ) – version 1.1
Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

yii vim eclimd how it works

Created 4 years ago by RusAlexHow-tos1 comment – viewed 7,981 times – ( +10 ) – version 1.1
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
tags: vim, eclimd, vimrc

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 4 years ago by a110yTips7 comments – viewed 15,667 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

Understanding "Assets"

Created 4 years ago by Steve FriedlTutorials11 comments – viewed 126,928 times – ( +57 ) – version 1.1
Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

Functional tests independing from your urlManager settings

Created 4 years ago by RusAlexTips1 comment – viewed 7,960 times – version 1.1
If you are testing your app and use urlManager in your config, sometimes you will find a problem: you want to test your site independing from urlManager settings. in that way you need to extend your WebTestCase class by this method:

How to use a Widget as an Action Provider

Created 4 years ago by Antonio RamirezHow-tos14 comments – viewed 34,824 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

CJuiDialog for create new model

Created 4 years ago by zaccariaTutorials53 comments – viewed 85,085 times – ( +67 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.