Wiki

Sorted by ratingX
Displaying 531-540 of 719 result(s).

Entire Messages into javascript object

Created 2 years ago by markuxHow-tos0 comments – viewed 4,757 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

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

Created 2 years ago by sirin kTips0 comments – viewed 6,119 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.

Attaching multiple event handlers to onBeginRequest

Created 9 months ago by BoazHow-tos0 comments – viewed 3,133 times – ( +2 ) – version 1.1
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).

Catching bounce messages (NDR) and piping them to a Yii command

Created 2 years ago by bennounaTutorials0 comments – viewed 6,877 times – ( +2 ) – version 1.1
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

Using phpseclib with Yii

Created 2 years ago by nkdHow-tos8 comments – viewed 6,632 times – ( +2 ) – version 1.1
I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does not requite mcrypt to be installed in the phpserver!
tags: security

Cómo enviar emails usando SMTP

Created 8 months ago by robregonmHow-tos0 comments – viewed 2,483 times – ( +2 ) – version 2.0
Seguir a @robregonm

Yii2 default values for Index data Provider

Created 7 months ago by CTalaTips1 comment – viewed 2,482 times – ( +2 ) – version 2.0
Guys,

pass variables or content block from view file to layout file

Created 2 years ago by yiqing95How-tos0 comments – viewed 14,330 times – ( +2 ) – version 1.1
If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

Instanciar clase hija basada en campo de modelo padre (CActiveRecord)

Created 2 years ago by robregonmHow-tos0 comments – viewed 5,621 times – ( +2 ) – version 1.1
[EN] [ES]

caching controllers with filters()

Created 3 years ago by RusAlexHow-tos1 comment – viewed 10,109 times – ( +2 ) – version 1.1
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was