Here you learn to create and set a simple ahref-link to logout the current user.
Here you learn to create and set a simple ahref-link to logout the current user.
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.
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
var formData = new FormData($("#post-form")[0]);
$.ajax({
url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
type: 'POST',
data: formData,
datatype:'json',
// as...
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.
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This...
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.
This article is about implementing authentication to Yii based web services.
This article describes an implementation of multi-tenancy using Yii and MySQL.
Suppose you have an Application in Yii that manages hotels each one has many customers.
There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?
Suppose you want to refresh a form or any content when a single row of CGridView is selected
Today i want to share with you is "How can we write HTML Code in view files? I am writing this article because many times we can not use CActiveForm to design our form...
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework
Note: Before reading this wiki you should have read the caching part in the Yii guide
Assume that you have teachers and students model.
I needed to use a class from ZF2 in my Yii project. I've read probably all there is about this subject and still I needed lots of trial & errors to get it working, probably due to my lack of experience working with namepsaces and ZF2 in general. Also, the resources on the web are all partial, at best. Most simply refer to ZF1 where things are technically different. When I got it all working I de...