Wiki articles

Showing 81-100 of 651 items.

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

Created 11 years ago by sirin k, updated 6 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: 14 363 times
Version: 1.1
Category: Tips

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

Created 10 years ago by Luis Lobo Borobia, updated 6 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: 14 392 times
Version: all
Category: Tips

shortcut/usefull access roles methods RBAC

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

These are functions that I used very often, may helps you!

1 0
5 followers
Viewed: 14 402 times
Version: 1.1
Category: Tutorials

Adding Bash Command Completion for Yii Commands

Created 11 years ago by Dustin Oprea, updated 11 years ago by Dustin Oprea.

This article discusses the installation/configuration of the YiiBash project (https://github.com/dsoprea/YiiBash).

3 0
5 followers
Viewed: 14 575 times
Version: 1.1
Category: How-tos

Use phing to make Yii application "installable"

Created 11 years ago by sensorario, updated 11 years ago by Maurizio Domba Cerin.

To use this "how-to", you need to install phing in your machine.

7 0
10 followers
Viewed: 14 613 times
Version: 1.1
Category: How-tos
Tags: phing

Yii code completion and calltips in Komodo Edit

Created 13 years ago by viter, updated 13 years ago by wei.

My favourite editor is Komodo Edit (free and crossplatform) and I use it for my everyday coding work. Just recently I found out how to make it help me to work with Yii. :) So follow these steps:

5 0
3 followers
Viewed: 14 613 times
Version: 1.1
Category: Tips

BaseModuleAR class with MultiActiveRecord

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

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

2 0
0 follower
Viewed: 14 682 times
Version: 1.1
Category: Tips

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

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

Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.

3 0
3 followers
Viewed: 14 770 times
Version: 1.1
Category: Tips

Syntax check

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

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

4 0
2 followers
Viewed: 14 784 times
Version: 1.1
Category: Tips
Tags: php, syntax

Q: My yiic tool cannot run model and crud commands. Why?

Created 15 years ago by qiang, updated 15 years ago by mishhh.

Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

0 0
1 follower
Viewed: 14 938 times
Version: 1.1
Category: Tutorials
Tags:
2 0
9 followers
Viewed: 14 982 times
Version: 1.1
Category: Tutorials

Using recaptchlib in your projects

Created 13 years ago by Antonio Ramirez, updated 13 years ago by Antonio Ramirez.

It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

5 0
4 followers
Viewed: 15 253 times
Version: 1.1
Category: How-tos

Access log output from unit tests

Created 11 years ago by Mike, updated 11 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: 15 283 times
Version: 1.1
Category: Tips

Preventing CJuiTabs from hiding drop-down CMenu items

Created 13 years ago by Steve Friedl, updated 13 years ago by RusAlex.

Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

4 0
3 followers
Viewed: 15 291 times
Version: 1.1
Category: Tips

Using Yii Gallery Manager in your Yii 1.x application

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

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1 follower
Viewed: 15 302 times
Version: 1.1
Category: How-tos

Autocomplete in console command

Created 12 years ago by Stamm, updated 12 years ago by Stamm.

Missed of autocomplete in bash console commands yii make me sad.

3 0
4 followers
Viewed: 15 358 times
Version: 1.1
Category: Tutorials

Make the authentication more securely

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

Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

2 0
3 followers
Viewed: 15 397 times
Version: 1.1
Category: Tutorials

Cambiando el diseño de JuiWidgets

Created 13 years ago by Luis Lobo Borobia, updated 12 years ago by Ivan Wilhelm.

Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

0 0
4 followers
Viewed: 15 408 times
Version: 1.1
Category: Tutorials
Tags:

Selecting best language based on Browser language and available languages.

Created 9 years ago by le_top, updated 9 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: 15 416 times
Version: 1.1
Category: Tips

Attaching multiple event handlers to onBeginRequest

Created 10 years ago by Boaz, updated 9 years ago by CeBe.

There came the need to perform two operations, always, on 'application boot' time. Example? My real world example involved some geo-location logic (that's the first operation) and syncing of some session details so KcFinder can be in sync with the user in context - each user with his own session container (the second).

1 0
2 followers
Viewed: 15 437 times
Version: 1.1
Category: How-tos