Wiki articles tagged with "tutorial"

Showing 1-20 of 26 items.

Impersonate Users within Yii Framework

Created 13 years ago by Woil, updated 13 years ago by Woil.

For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".

20 0
21 followers
Viewed: 26 180 times
Version: 1.1
Category: Tutorials

Actions code reuse with CAction

Created 12 years ago by Antonio Ramirez, updated 12 years ago by Antonio Ramirez.

Gii provides us normally with the following code on the 'actionCreate':

public function actionCreate()
{
   $model=new ModelName;

33 0
19 followers
Viewed: 54 721 times
Version: 1.1
Category: How-tos

Avoiding duplicate script download when using CActiveForm on Ajax calls

Created 12 years ago by Antonio Ramirez, updated 12 years ago by Maurizio Domba Cerin.

The only thing required is simple, we just need to create a view that will be partially rendered by a call to a controller (using renderPartial) and make sure that we process output -setting to true the parameter on the function. Everything will work as expected but...

11 1
9 followers
Viewed: 26 550 times
Version: 1.1
Category: Tutorials

Send asset folder path to a javascript of a widget

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

When you develop a widget, you could need one image that is in the assets folder, you can use it simply within a css. You can load a css or javascript script doing this:

Yii::app()->getClientScript()->registerCssFile($filename);
4 0
9 followers
Viewed: 34 106 times
Version: 1.1
Category: Tips

Windows Web Development With AMPPS, NetBeans and XDebug

Created 12 years ago by morcen, updated 12 years ago by morcen.
  1. Operating system: Windows
4 0
6 followers
Viewed: 38 425 times
Version: 1.1
Category: Tutorials

Yii Security-extended guide

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

This article is called extended guide is because there is already a security guide in the Yii tutorial security section. but that guide is not complete in the sense that it does not rise the developers' attention to some other commonly happening attacks: SQL injection and magic URL, which can be major vulnerabilities in you...

6 6
12 followers
Viewed: 30 537 times
Version: 1.1
Category: Tips

Custom Autocomplete Display and Value Submission

Created 12 years ago by Antonio Ramirez, updated 11 years ago by SebK.

I was looking around wiki and found that was no approach as the one I did so I guessed this is worth to write.

12 0
18 followers
Viewed: 60 827 times
Version: 1.1
Category: How-tos

MVC primer and 5 minute form walkthrough

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

This tutorial assumes some basic knowledge of Yii and a functional development environment.

8 0
6 followers
Viewed: 29 377 times
Version: 1.1
Category: Tutorials

Our WebApp that will run without downtime during update/upgrade

Created 12 years ago by Pinoy Coderz, updated 11 years ago by Maurizio Domba Cerin.

How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?

8 2
7 followers
Viewed: 14 161 times
Version: 1.1
Category: Tutorials
Tags: tutorial

Create Yii Project In Cloud9

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

This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

2 0
5 followers
Viewed: 37 819 times
Version: 1.1
Category: Tutorials
9 0
15 followers
Viewed: 32 023 times
Version: 1.1
Category: Tips

XUpload Workflow

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

This wiki describes a more complex workflow using the XUpload widget

28 0
42 followers
Viewed: 94 992 times
Version: 1.1
Category: Tutorials

Additional form data with XUpload

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

In this article you'll learn how to send additional form data when uploading files using XUpload widget

7 0
13 followers
Viewed: 46 556 times
Version: 1.1
Category: How-tos

Adding search to Yii blog example (using Zend Lucene)

Created 12 years ago by dckurushin, updated 11 years ago by klammeraffe.
  • add under runtime directory, a new one call it search, it will be used for the index files that Zend Lucene will create. Make sure it is writable!
29 1
47 followers
Viewed: 88 526 times
Version: 1.1
Category: Tutorials

Implementing a User Level Access System

Created 12 years ago by Antonio Ramirez, updated 10 years ago by Phil Loaiza.

Please note that this article is a simple example and good security should be taken into account when we play with authentication systems.

27 0
37 followers
Viewed: 70 331 times
Version: 1.1
Category: Tutorials

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

Created 10 years ago by kalpit, updated 9 years ago by CeBe.

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...

2 2
6 followers
Viewed: 21 515 times
Version: 1.1
Category: How-tos

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 10 years ago by Interboy, updated 9 years ago by xJose.

Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

3 0
7 followers
Viewed: 34 728 times
Version: 1.1
Category: How-tos

How-To: Create a REST API

Created 12 years ago by jwerner, updated 9 years ago by Rohit Suthar.

This article will explain how to create a REST API with the Yii framework.

98 2
123 followers
Viewed: 473 526 times
Version: 1.1
Category: How-tos

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 10 years ago by ruderbytes, updated 9 years ago by ruderbytes.

Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

0 2
7 followers
Viewed: 41 596 times
Version: 1.1
Category: How-tos

Multilanguage and SEO friendly

Created 10 years ago by Interboy, updated 9 years ago by Rohit Suthar.

In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

4 0
8 followers
Viewed: 29 368 times
Version: 1.1
Category: How-tos