var formData = new FormData($("#post-form")[0]);
$.ajax({
url: '<?php echo Yii::app()->createUrl("forumPost/uploadPost"); ?>',
type: 'POST',
data: formData,
datatype:'json',
// as...
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...
This is a shortcut for adding a text search for multiple values i.e.
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.
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.
Apostle provides a nifty facility for sending app-generated, transactional emails from your application including Wordpress-like mail formatting and full tracking (delivery, opening, clicking etc.) of all emails sent. No need to set up email facilities on your app server!
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
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.
Note: Before reading this wiki you should have read the caching part in the Yii guide
Assume that you have teachers and students model.