Wiki articles

Showing 101-120 of 823 items.

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

Created 12 years ago by sirin k, updated 8 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: 15 479 times
Version: 1.1
Category: Tips

Our WebApp that will run without downtime during update/upgrade

Created 13 years ago by Pinoy Coderz, updated 12 years ago by Maurizio Domba Cerin.

How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?

8 2
7 followers
Viewed: 15 651 times
Version: 1.1
Category: Tutorials
Tags: tutorial

Understanding series articles

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

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

16 0
12 followers
Viewed: 15 653 times
Version: 1.1
Category: Tips

Syntax check

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

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

4 0
2 followers
Viewed: 15 720 times
Version: 1.1
Category: Tips
Tags: php, syntax

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

Created 12 years ago by Luis Lobo Borobia, updated 8 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: 15 753 times
Version: all
Category: Tips

Use phing to make Yii application "installable"

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

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

7 0
10 followers
Viewed: 15 765 times
Version: 1.1
Category: How-tos
Tags: phing
2 0
9 followers
Viewed: 15 829 times
Version: 1.1
Category: Tutorials

Move sources to src

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

Yii 3 and many Yii 2 package sources are contained within src directory which is convenient since you have less directories to check.

11 0
5 followers
Viewed: 15 934 times
Version: 2.0
Category: How-tos

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

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

BaseModuleAR class with MultiActiveRecord

Created 14 years ago by dinhtrung, updated 13 years ago by Gustavo.

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

2 0
0 follower
Viewed: 16 034 times
Version: 1.1
Category: Tips

Preventing CJuiTabs from hiding drop-down CMenu items

Created 14 years ago by Steve Friedl, updated 14 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: 16 065 times
Version: 1.1
Category: Tips

A universal model attribute for its synthetic representation

Created 8 years ago by Alexandre Rodichevski, updated 8 years ago by Alexandre Rodichevski.

It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

0 0
3 followers
Viewed: 16 151 times
Version: 2.0
Category: Tips

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

Created 16 years ago by qiang, updated 16 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: 16 366 times
Version: 1.1
Category: Tutorials
Tags:

Using recaptchlib in your projects

Created 14 years ago by Antonio Ramirez, updated 14 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: 16 373 times
Version: 1.1
Category: How-tos

Using Pear Mail Mail_Mime and Mail_Queue

Created 14 years ago by Loren, updated 14 years ago by Loren.

require_once 'Mail.php'; // PEAR Mail require_once 'Mail/mime.php'; // PEAR Mail_mime require_once 'Mail/Queue.php'; // PEAR Mail_queue require_once 'Mail/Queue/Container/mdb2.php'; // PEAR Mail_queue mdb2

7 0
11 followers
Viewed: 16 426 times
Version: 1.1
Category: How-tos

Cambiando el diseño de JuiWidgets

Created 14 years ago by Luis Lobo Borobia, updated 14 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: 16 492 times
Version: 1.1
Category: Tutorials
Tags:

Autocomplete in console command

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

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

3 0
4 followers
Viewed: 16 493 times
Version: 1.1
Category: Tutorials

Attaching multiple event handlers to onBeginRequest

Created 11 years ago by Boaz, updated 11 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: 16 627 times
Version: 1.1
Category: How-tos

Access log output from unit tests

Created 13 years ago by Mike, updated 13 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: 16 708 times
Version: 1.1
Category: Tips

How to use Flash, Zend AMF and Yii Framework

Created 13 years ago by janisto, updated 13 years ago by janisto.

This is a simple demo how to use Zend_AMF with Yii.

3 0
6 followers
Viewed: 16 712 times
Version: 1.1
Category: Tutorials