Wiki articles in category Tutorials

Showing 161-180 of 264 items.

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 130 times
Version: 1.1
Category: Tutorials
Tags:

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 369 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: 85 410 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: 51 374 times
Version: 1.1
Category: Tutorials

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

Created 11 years ago by nlac, updated 9 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: 62 348 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: 118 462 times
Version: 1.1
Category: Tutorials
Tags: YiiMail

Implementing a WebDAV server using SabreDAV

Created 10 years ago by nineinchnick, updated 10 years ago by nineinchnick.

This article will show you how to easily implement a WebDAV server in your project using SabreDAV.

5 0
8 followers
Viewed: 42 710 times
Version: Unknown (update)
Category: Tutorials

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 10 years ago by Charles R. Portwood II, updated 10 years ago by Vivek.

By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.

7 6
21 followers
Viewed: 304 276 times
Version: 2.0
Category: Tutorials

Simple Mail Queue

Created 10 years ago by waterloomatt, updated 8 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: 28 498 times
Version: 1.1
Category: Tutorials

YII SaaS Multi Tenant application with single database

Created 10 years ago by Rajith R, updated 9 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: 27 793 times
Version: 1.1
Category: Tutorials

Mantis Manager: An Asset Manager that minifies, combines, and publishes

Created 10 years ago by aarondfrancis, updated 10 years ago by aarondfrancis.

Hello everybody.

4 0
8 followers
Viewed: 10 895 times
Version: Unknown (update)
Category: Tutorials
Tags: assets, heroku

Log Activity in DataBase

Created 10 years ago by mahdi1986, updated 9 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: 32 629 times
Version: 1.1
Category: Tutorials

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

Created 10 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: 59 560 times
Version: 1.1
Category: Tutorials

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

Created 10 years ago by codesutra, updated 9 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: 81 289 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 10 years ago by codesutra, updated 9 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...

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

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

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

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

Display Status image on CGridView column

Created 10 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 191 times
Version: 1.1
Category: Tutorials

Display image on CGridView column and open a fancy-box

Created 10 years ago by Ankit Modi, updated 10 years ago by Ankit Modi.

1) Add a fancy-box extension on admin page

0 0
2 followers
Viewed: 17 832 times
Version: Unknown (update)
Category: Tutorials

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

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

1) include the fancybox extesion otherwise fancybox js

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

Help pages using Markdown view renderer

Created 10 years ago by nineinchnick, updated 10 years ago by nineinchnick.

This tutorial describes how to write your views for help pages using Markdown syntax to be able to generate PDFs from same source files.

0 0
4 followers
Viewed: 9 203 times
Version: Unknown (update)
Category: Tutorials