Wiki

Sorted by ratingX
Displaying 541-550 of 747 result(s).

Custom Archive in Blog system

Created 2 years ago by nirmalrokaTips0 comments – viewed 4,569 times – ( +2 ) – version 1.1
Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

Entire Messages into javascript object

Created 2 years ago by markuxHow-tos0 comments – viewed 5,080 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,494 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 about a year ago by BoazHow-tos0 comments – viewed 3,850 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 7,353 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 7,323 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 about a year ago by robregonmHow-tos0 comments – viewed 3,385 times – ( +2 ) – version 2.0
Seguir a @robregonm

Yii2 default values for Index data Provider

Created 12 months ago by CTalaTips1 comment – viewed 4,012 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 15,418 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 6,340 times – ( +2 ) – version 1.1
[EN] [ES]