Wiki

Articles in category "tips", sorted by ratingX
Displaying 91-100 of 135 result(s).

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

Created about a year ago by sirin kTips0 comments – viewed 5,392 times – ( +2 ) – version 1.1
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.

an easy way to required multi columns(At least one cannot be blank)

Created 2 years ago by 1065227709Tips0 comments – viewed 4,718 times – ( +2 ) – version 1.1
in model add the following code:
tags: rules

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

Created about a year ago by Luis Lobo BorobiaTips0 comments – viewed 3,591 times – ( +2 )
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.

More on SSE and Yii

Created about a year ago by FirebreakerTips3 comments – viewed 3,406 times – ( +2 )
This is not actually Yii involved.

Como trasponer una lista creada con CHtml::checkBoxList

Created 2 years ago by rdjteamTips3 comments – viewed 8,269 times – ( +2 ) – version 1.1
En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 3 years ago by a110yTips7 comments – viewed 14,617 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:

BaseModuleAR class with MultiActiveRecord

Created 3 years ago by dinhtrungTips0 comments – viewed 6,512 times – ( +2 ) – version 1.1
MultiActiveRecord is an extension that add support for multiple database connection for your application.

Assigning dynamic roles to a user Using yii Rights module at the time of user creation and using some special advanced features of yii rights

Created about a year ago by Rajith RTips18 comments – viewed 25,580 times – ( +10 ) – version 1.1
After Installing Yii Users and Rights to Newly Created Yii app we have to assign dynamic roles to a user at the time of user creation .

Shrink Yii, help your IDE and speed up copying

Created 2 years ago by dckurushinTips11 comments – viewed 8,300 times – ( +10 / -9 ) – version 1.1
In this little tip, I will help you to cut Yii size for about half

Auto TDD - How to auto-run PHPUnit

Created 3 years ago by imeheszTips3 comments – viewed 12,137 times – ( +3 / -1 ) – version 1.1
If you are lucky enough and have the privilege to develop on a Linux based environment, this little tip might boost-up your TDD process (at least the Unit Testing part). Please note, that this should work just fine with Apple computers also, but not tested!
tags: PHPUnit, testing, TDD