Wiki articles in category Tips

Showing 21-40 of 158 items.

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created 7 years ago by Luis Lobo Borobia, updated 3 years ago by Luis Lobo Borobia.

We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

2 0
2 followers
Viewed: 10 072 times
Version: all
Category: Tips

Reading the doc

Created 9 years ago by zaccaria, updated 9 years ago by Orteko.

Almost all the information you need whilst working with yii is written in the Class Reference.

21 0
3 followers
Viewed: 10 130 times
Version: 1.1
Category: Tips
Tags: doc

Create thermometer using rgraph

Created 7 years ago by Ankit Modi, updated 6 years ago by Ankit Modi.

Hi friends,

2 0
4 followers
Viewed: 10 148 times
Version: Unknown (update)
Category: Tips

Yii Rights Management Tips

Created 5 years ago by Rajith R, updated 5 years ago by Rajith R.

yii rights some tips..

2 0
4 followers
Viewed: 10 170 times
Version: 1.1
Category: Tips

using jqbargraph to create beautiful graphs

Created 7 years ago by MAHESH.E.U, updated 7 years ago by MAHESH.E.U.

If you are about to create a graph, the best option i would suggest is the jqbargraph.

5 0
9 followers
Viewed: 10 245 times
Version: 1.1
Category: Tips

how to use github (un)official extension repo in your Yii project

Created 8 years ago by RusAlex, updated 8 years ago by RusAlex.

I'm developing a web project for a company using Yii framework. We are using a git vcs in our development process. We like to use Yii extensions. But only if they are good.

4 0
8 followers
Viewed: 10 471 times
Version: 1.1
Category: Tips

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 8 years ago by sirin k, updated 3 years ago by Maurizio Domba Cerin.

hello,

 This article is helpful only if you have the following situation:
 A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out  out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem wi...
4 0
6 followers
Viewed: 10 759 times
Version: 1.1
Category: Tips
Tags: facebook, user

Solution for session lose of Facebook iframe application in Internet Explorer .

Created 8 years ago by sirin k, updated 3 years ago by Maurizio Domba Cerin.

Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

2 0
4 followers
Viewed: 10 859 times
Version: 1.1
Category: Tips

Selecting best language based on Browser language and available languages.

Created 5 years ago by le_top, updated 5 years ago by le_top.

Your application is international and you have to select the best language for the user. Your user may have selected 'fr_CA' and you have 'fr_FR' or 'fr' available. What do you do? Here is a tip.

2 0
1 follower
Viewed: 11 069 times
Version: 1.1
Category: Tips

Functional tests independing from your urlManager settings

Created 9 years ago by RusAlex, updated 9 years ago by RusAlex.

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:

0 0
4 followers
Viewed: 11 112 times
Version: 1.1
Category: Tips

Make an ajax request to another server using JSONP

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

There are cases that you want to make an ajax request to another server and get the results.

1 0
2 followers
Viewed: 11 428 times
Version: 1.1
Category: Tips

Locking your Yii 2 project package versions with composer.lock

Created 6 years ago by Kartik V, updated 6 years ago by Kartik V.

Ok, you have installed a Yii 2 basic or advanced app for the first time and completed the post install steps. You have picked up a few extensions to install for the first time as well. You would already see a composer.lock file in your application root folder.

0 2
37 followers
Viewed: 11 486 times
Version: 2.0
Category: Tips

Access log output from unit tests

Created 8 years ago by Mike, updated 8 years ago by Mike.

Say, you want to write a test for a component which provides a caching feature. How would you know, that some method of your component returns a cached result? With the solution described here you can inspect all log outputs. So you could search the logs for accesses to the DB to really make sure, that the result was served from cache.

3 0
2 followers
Viewed: 11 506 times
Version: 1.1
Category: Tips

Understanding series articles

Created 8 years ago by GOsha, updated 8 years ago by GOsha.

Here are all wiki articles from "Understanding" series by Yii wiki contributors:

16 0
13 followers
Viewed: 11 703 times
Version: 1.1
Category: Tips

Syntax check

Created 9 years ago by Russell England, updated 9 years ago by Russell England.

This will syntax check each php file recursively from the current directory.

4 0
2 followers
Viewed: 11 748 times
Version: 1.1
Category: Tips
Tags: php, syntax

[pt-br] O guia de estudos do Yii para iniciantes

Created 7 years ago by Rodrigo Coelho, updated 7 years ago by Rodrigo Coelho.

You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.

1 0
3 followers
Viewed: 11 826 times
Version: 1.1
Category: Tips
Tags:

Customize your Growl/Alert msg easy and quickly

Created 5 years ago by Scott_Huang, updated 5 years ago by Scott_Huang.

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 11 861 times
Version: 2.0
Category: Tips

Setting static modules' properties in config

Created 7 years ago by Alexander Palamarchuk, updated 7 years ago by Alexander Palamarchuk.

You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.

1 1
2 followers
Viewed: 12 013 times
Version: 1.1
Category: Tips
Tags: config, module

Shrink Yii, help your IDE and speed up copying

Created 8 years ago by dckurushin, updated 8 years ago by dckurushin.

yii-1.1.8.r3324 framework directory is 10.4 mb size.

9 8
17 followers
Viewed: 12 223 times
Version: 1.1
Category: Tips

BaseModuleAR class with MultiActiveRecord

Created 9 years ago by dinhtrung, updated 9 years ago by Gustavo.

MultiActiveRecord is an extension that add support for multiple database connection for your application.

2 0
0 follower
Viewed: 12 290 times
Version: 1.1
Category: Tips