Wiki

Articles in category "how-tos"X
Displaying 61-70 of 302 result(s).

How to apply a layout to an AJAX update

Created 5 months ago by trondHow-tos1 comment – viewed 3,073 times – ( +1 ) – version 1.1
The template system in Yii is quite flexible. By default you have three layers of content:
tags: AJAX, views

Upload files in Yii2 with MongoDb and GridFs

Created 5 months ago by edoardo849How-tos0 comments – viewed 5,404 times – ( +6 ) – version 2.0
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).

How to implement magento cron on yii

Created 5 months ago by Ankit ModiHow-tos0 comments – viewed 2,229 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.

How to create Module based Login

Created 5 months ago by turiHow-tos1 comment – viewed 5,962 times – ( +3 ) – version 1.1
Lets say we have 3 modules (customer, user, admin) in an application and we need, separate logins for each module.

Simple Multiple Environment Setup with Default Yii Installation

Created 5 months ago by turiHow-tos2 comments – viewed 3,372 times – ( +3 ) – version 1.1
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.

Simple Web APIs for your Yii App

Created 6 months ago by shivHow-tos3 comments – viewed 5,591 times – ( +2 / -2 ) – version 1.1
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 mixed approach saves lot of time on server side. We not really need to handle actual REST requests and still be able to exchange data between web and mobiles or ajax java-scripts or even node.js.
tags: API, JSON

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 6 months ago by tophHow-tos1 comment – viewed 7,779 times – ( -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

HOW TO: Use token based authentication

Created 6 months ago by le_topHow-tos0 comments – viewed 5,299 times – ( +3 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 6 months ago by ruderbytesHow-tos2 comments – viewed 11,633 times – ( +2 / -2 ) – version 1.1
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

How-To: Create Token Authenticated Web Services

Created 6 months ago by hemcHow-tos1 comment – viewed 9,028 times – ( +8 ) – version 1.1
This article is about implementing authentication to Yii based web services.