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 pravi, updated 11 years ago by Maxxer 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: 47 183 times
Version: 1.1
Category: Tutorials

Clean JavaScript code in your views

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

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

18 0
24 followers
Viewed: 42 389 times
Version: 1.1
Category: Tutorials

Tabular Input, Validating and Saving related models

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

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

4 0
16 followers
Viewed: 44 435 times
Version: 1.1
Category: Tutorials

Email template functionality with manage content from database

Created 12 years ago by kiran sharma kiran sharma, updated 11 years ago by yugene 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: 49 163 times
Version: 1.1
Category: Tutorials

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

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

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 20 729 times
Version: 1.1
Category: Tutorials

Display Status image on CGridView column

Created 12 years ago by Ankit Modi Ankit Modi, updated 6 years ago by samdark samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 22 797 times
Version: 1.1
Category: Tutorials

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

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

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

3 1
4 followers
Viewed: 52 898 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 12 years ago by codesutra codesutra, updated 10 years ago by codesutra 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 12 years ago by codesutra codesutra, updated 11 years ago by codesutra 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: 84 351 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by softark softark, updated 9 years ago by softark 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: 62 168 times
Version: 1.1
Category: Tutorials

Log Activity in DataBase

Created 12 years ago by mahdi1986 mahdi1986, updated 11 years ago by mahdi1986 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: 34 550 times
Version: 1.1
Category: Tutorials

YII SaaS Multi Tenant application with single database

Created 12 years ago by Rajith R Rajith R, updated 11 years ago by xJose 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: 29 638 times
Version: 1.1
Category: Tutorials

Simple Mail Queue

Created 12 years ago by waterloomatt waterloomatt, updated 10 years ago by Bizley 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: 31 183 times
Version: 1.1
Category: Tutorials

Send mail using YiiMail extension

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

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

7 0
18 followers
Viewed: 122 324 times
Version: 1.1
Category: Tutorials
Tags: YiiMail

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

Created 12 years ago by nlac nlac, updated 10 years ago by nlac 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: 65 787 times
Version: 1.1
Category: Tutorials

Custom Login Error Messages

Created 12 years ago by whoopass whoopass, updated 12 years ago by whoopass 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: 53 868 times
Version: 1.1
Category: Tutorials

Yii for beginners 2

Created 12 years ago by rackycz rackycz, updated 3 years ago by rackycz 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: 93 174 times
Version: 1.1
Category: Tutorials

Upload Files to Rackspace Cloud Files CDN

Created 12 years ago by StephenMiracle StephenMiracle, updated 12 years ago by StephenMiracle 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: 18 531 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by bhavesh vaghela bhavesh vaghela, updated 12 years ago by Maurizio Domba Cerin 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 913 times
Version: 1.1
Category: Tutorials
Tags:

Upload CSV File

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

View file

3 0
10 followers
Viewed: 33 587 times
Version: 1.1
Category: Tutorials
Tags: