Wiki

Sorted by commentsX
Displaying 681-690 of 774 result(s).

Yii behind a reverse proxy, SSL support and correct IP logging

Created 3 years ago by mrkmgTips0 comments – viewed 5,818 times – version 1.1
If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php

Tags manipulation using Select2 in single field

Created 2 years ago by sefburhanTutorials0 comments – viewed 5,188 times – ( +33 ) – version 1.1
Sometime its very important to perform many actions/operation with limited time frame for friendly use, select2 provides a lot of such functionality , I just extend it tags functionality to provide a quick use for developer to save time, as I spent much time on it.

Integrate Zend 2 XML writer into Yii

Created 2 years ago by JonnyTutorials0 comments – viewed 4,440 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

How to implement magento cron on yii

Created 2 years ago by Ankit ModiHow-tos0 comments – viewed 4,538 times – version 1.1
Hi Friends, First I would to say sorry but I am not very familiar to magento so after a 1 week spend I will implement the magneto cron functionality on yii I hope it's may be some helpful.

Changing Controllers Name

Created 5 years ago by TrejderHow-tos0 comments – viewed 15,337 times – ( +5 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

The MrFisk IRC Bot

Created 3 years ago by rAWTAZOthers0 comments – viewed 22,006 times – ( +6 ) – version 1.1
MrFisk is a sleek little bot hanging out in the official #yii IRC channel on freenode, meant to serve Yii users with documentation lookups and other things. This document intends to provide a summary of what MrFisk can do for you and how to use his fin^H^Heatures.
tags: MrFisk, YiiBot, IRC, bot

Custom Archive in Blog system

Created 3 years ago by nirmalrokaTips0 comments – viewed 5,410 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 3 years ago by markuxHow-tos0 comments – viewed 6,061 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

Email by YiiMailer, Call Outlook, IMAP

Created 2 years ago by Scott_HuangHow-tos0 comments – viewed 6,807 times – version 1.1
In Yii community we have lots of extention can send emails, such as YiiMailer and Swift and so on, or even IMAPI, thanks for team contribution. However, sometimes, in the intranet enviroment, the program cannot run successfully since SMTP /IMAP port been banded. So you need to seek other ways. The most simple way is **call outlook** as COM.

ChromePHP for Yii

Created 5 years ago by imeheszTips0 comments – viewed 11,668 times – ( +3 / -2 ) – version 1.1
ChromePHP is a console logging extension for Google Chrome.