Wiki

Articles in category "how-tos"X
Displaying 81-90 of 312 result(s).

A Multi-Tenant Strategy using Yii and MySQL

Created 9 months ago by JFReyesHow-tos7 comments – viewed 9,219 times – ( +8 ) – version 1.1
This article describes an implementation of multi-tenancy using Yii and MySQL.

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

Created 9 months ago by KonApazHow-tos5 comments – viewed 15,678 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

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

Created 9 months ago by MikeTHow-tos0 comments – viewed 2,842 times – ( +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

ClientValidation for files (modern browsers)

Created 9 months ago by KonApazHow-tos0 comments – viewed 4,840 times – ( +4 ) – 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 ?

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

Created 10 months ago by KonApazHow-tos2 comments – viewed 10,656 times – ( +4 ) – version 1.1
Suppose you want to refresh a form or any content when a single row of CGridView is selected

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

Created 10 months ago by kalpitHow-tos2 comments – viewed 6,527 times – ( +2 / -2 ) – 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

Yii CGridView add custom button

Created 10 months ago by Arockia JohnsonHow-tos1 comment – viewed 14,104 times – ( +6 ) – 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

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Created 10 months ago by Gerhard LiebenbergHow-tos1 comment – viewed 22,921 times – ( +4 / -1 ) – version 1.1
I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

Caching strategy

Created 10 months ago by darkheirHow-tos9 comments – viewed 3,901 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter

two or more different collected data in one CGridView

Created 10 months ago by KonApazHow-tos2 comments – viewed 5,236 times – ( +3 / -1 ) – version 1.1
Assume that you have teachers and students model.