Wiki

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

How to implement magento cron on yii

Created 2 years ago by Ankit ModiHow-tos0 comments – viewed 4,489 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,249 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 21,726 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,366 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,020 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,694 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,597 times – ( +3 / -2 ) – version 1.1
ChromePHP is a console logging extension for Google Chrome.

How to create a simple logout link in the view?

Created 2 years ago by mi.sarahHow-tos0 comments – viewed 13,085 times – ( +1 / -3 ) – version 1.1
Here you learn to create and set a simple ahref-link to logout the current user.
tags: Logout, Link, user, URL, views

Get notified about the status of a Facebook user in your web app using periodic Ajax calls.

Created 3 years ago by sirin kTips0 comments – viewed 6,823 times – ( +4 ) – version 1.1
hello, This article is helpful only if you have the following situation: A web app which uses facebook login to login its users and if a user is logged out from his/her facebook account through another browser tab, then your app dont know that he is logged out out or not from his facebook account and he/she will remain as logged in your web application.Its ok if you have no problem with this situation.But if you want to forcefully logout the user from your application if he is logged out from his facebook account means you can try this example.This example uses periodic ajax calls to facebook's graph api to check whether the user is logged in or not.
tags: facebook, user

Extending common classes to allow better customization

Created 5 years ago by Steve FriedlTips0 comments – viewed 27,841 times – ( +44 ) – version 1.1
The two most commonly-used base classes in most Yii applications are CController and CActiveRecord, each extended to your own particular models and controllers.