Wiki articles in category Tutorials

Showing 41-60 of 219 items.

Ajax Login form with validation errors inside jQuery modal dialog

Created 11 years ago by pravi, updated 10 years ago by Maxxer.

I would like to share my little experience with Yii to the community in the form of the below small wiki:

3 0
9 followers
Viewed: 45 474 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

Created 11 years ago by nineinchnick, updated 5 years ago by samdark.

This tutorial presents a way of separating JS code from views and passing to it values from PHP.

18 0
24 followers
Viewed: 41 012 times
Version: 1.1
Category: Tutorials

Tabular Input, Validating and Saving related models

Created 11 years ago by Xavier John, updated 10 years ago by hasanavi.

This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

4 0
16 followers
Viewed: 43 414 times
Version: 1.1
Category: Tutorials

Email template functionality with manage content from database

Created 11 years ago by kiran sharma, updated 10 years ago by yugene.

I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)

4 0
12 followers
Viewed: 47 948 times
Version: 1.1
Category: Tutorials

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 11 years ago by Ankit Modi, updated 10 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 19 783 times
Version: 1.1
Category: Tutorials

Display Status image on CGridView column

Created 11 years ago by Ankit Modi, updated 5 years ago by samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 21 821 times
Version: 1.1
Category: Tutorials

A very easy way to setup yiic on WAMP server (without extra windows settings)

Created 11 years ago by Kostas Apazidis (KonApaz), updated 10 years ago by Kostas Apazidis (KonApaz).

Assuming that you have already install the wampserver on your windows.

3 1
4 followers
Viewed: 51 805 times
Version: 1.1
Category: Tutorials

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Created 11 years ago by codesutra, updated 10 years ago by codesutra.

This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for [PHPExcel library](https://github.co...

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created 11 years ago by codesutra, updated 10 years ago by codesutra.

Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.

4 0
11 followers
Viewed: 82 375 times
Version: 1.1
Category: Tutorials

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 11 years ago by softark, updated 8 years ago by softark.

It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

9 0
22 followers
Viewed: 60 632 times
Version: 1.1
Category: Tutorials

Log Activity in DataBase

Created 11 years ago by mahdi1986, updated 10 years ago by mahdi1986.

In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

4 0
17 followers
Viewed: 33 327 times
Version: 1.1
Category: Tutorials

YII SaaS Multi Tenant application with single database

Created 11 years ago by Rajith R, updated 10 years ago by xJose.

Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

6 1
14 followers
Viewed: 28 460 times
Version: 1.1
Category: Tutorials

Simple Mail Queue

Created 11 years ago by waterloomatt, updated 9 years ago by Bizley.

The basic idea is to create a complete mail message and store it a Db table along with all info necessary for sending valid emails (to_email, from_email, from_name, subject etc.)

8 0
14 followers
Viewed: 29 289 times
Version: 1.1
Category: Tutorials

Send mail using YiiMail extension

Created 11 years ago by RKA, updated 11 years ago by RKA.

Step1: Download the extension from path 'http://code.google.com/p/yii-mail/downloads/list' .

7 0
18 followers
Viewed: 121 102 times
Version: 1.1
Category: Tutorials
Tags: YiiMail

A simple way to get Yii client-side form validation run when submitting by ajax

Created 11 years ago by nlac, updated 10 years ago by nlac.

A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

4 1
11 followers
Viewed: 63 872 times
Version: 1.1
Category: Tutorials

Custom Login Error Messages

Created 11 years ago by whoopass, updated 11 years ago by whoopass.

The Yii Framework is very powerful and it provides a lot of functionality right from the pre-built webapp. One of the nice things that is already established for you as a developer is the Login authentication. While the default configuration simply sets it up to run against an array of hard coded usernames and passwords, the [Yii Blog Tutorial](http://www.yiiframework.com/doc/blog/1.1/en/prototype...

6 0
8 followers
Viewed: 52 347 times
Version: 1.1
Category: Tutorials

Yii for beginners 2

Created 11 years ago by rackycz, updated 2 years ago by rackycz.

This is second article with my tutorial. I had to add it, because Wiki article has limited length and as I was extending it's text, older paragraphs were disappearing. So here I am starting from chapter 6.

15 0
21 followers
Viewed: 88 018 times
Version: 1.1
Category: Tutorials

Upload Files to Rackspace Cloud Files CDN

Created 11 years ago by StephenMiracle, updated 11 years ago by StephenMiracle.

** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

2 0
3 followers
Viewed: 17 796 times
Version: 1.1
Category: Tutorials

Define general array and variable and call it to anywhere in application

Created 11 years ago by bhavesh vaghela, updated 11 years ago by Maurizio Domba Cerin.

Create param.php file in protected/config

Yii::app()->params['TEXT_ACTIVE'] = 'Active'; //1 for active

1 4
3 followers
Viewed: 14 433 times
Version: 1.1
Category: Tutorials
Tags:

Upload CSV File

Created 11 years ago by bhavesh vaghela, updated 10 years ago by bhavesh vaghela.

View file

3 0
10 followers
Viewed: 32 659 times
Version: 1.1
Category: Tutorials
Tags: