Wiki

Articles in category "how-tos", sorted by date (updated)X
Displaying 161-170 of 355 result(s).

Yii CGridView add custom button

Updated 3 years ago by CeBeHow-tos1 comment – viewed 34,299 times – ( +6 / -1 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Updated 3 years ago by CeBeHow-tos2 comments – viewed 12,929 times – ( +2 / -3 ) – version 1.1
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...
tags: views, tutorial

Update a part of content using AJAX when select a GridView row

Updated 3 years ago by CeBeHow-tos2 comments – viewed 20,883 times – ( +4 / -1 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

ClientValidation for files (modern browsers)

Updated 3 years ago by CeBeHow-tos0 comments – viewed 10,675 times – ( +4 / -1 ) – version 1.1
There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?

Using Apostle.io to send formatted, trackable emails from Yii applications

Updated 3 years ago by CeBeHow-tos0 comments – viewed 5,041 times – ( +1 / -1 ) – version 1.1
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!
tags: email, mail

Take more control of CGridview and model searching (related model or another controller)

Updated 3 years ago by CeBeHow-tos5 comments – viewed 32,273 times – ( +5 / -1 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

A Multi-Tenant Strategy using Yii and MySQL

Updated 3 years ago by CeBeHow-tos9 comments – viewed 26,398 times – ( +10 / -1 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

How-To: Create Token Authenticated Web Services

Updated 3 years ago by CeBeHow-tos1 comment – viewed 25,858 times – ( +8 / -1 ) – version 1.1
This article is about implementing authentication to Yii based web services.

HOW TO: Use token based authentication

Updated 3 years ago by CeBeHow-tos2 comments – viewed 22,281 times – ( +5 / -1 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

Simple Web APIs for your Yii App

Updated 3 years ago by CeBeHow-tos4 comments – viewed 20,060 times – ( +2 / -3 ) – 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