Suppose you have an Application in Yii that manages hotels each one has many customers.
Suppose you have an Application in Yii that manages hotels each one has many customers.
This article describes an implementation of multi-tenancy using Yii and MySQL.
This article is about implementing authentication to Yii based web services.
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.
This is a shortcut for adding a text search for multiple values i.e.
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 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.
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.
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.
var formData = new FormData($("#post-form")[0]);
$.ajax({
url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
type: 'POST',
data: formData,
datatype:'json',
// as...
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:
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.
Here you learn to create and set a simple ahref-link to logout the current user.
In some cases, we have to limit the number of page views for the guests users. Yii provide an efficient method to get this.
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).
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
While rewriting the PcReportContent extension I'm maintaining I've bumped to a challenge. This wiki was born out of it.
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)