Wiki articles in category Tutorials

Showing 121-140 of 219 items.
7 0
21 followers
Viewed: 81 557 times
Version: 1.1
Category: Tutorials

config Use MS SQL SERVER 2005 2008.

Created 14 years ago by vcxz_1982 vcxz_1982, updated 13 years ago by Asgaroth Asgaroth.

Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

3 0
8 followers
Viewed: 83 106 times
Version: 1.1
Category: Tutorials

Implementing a User Level Access System

Created 14 years ago by Antonio Ramirez Antonio Ramirez, updated 11 years ago by Phil Loaiza 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: 73 732 times
Version: 1.1
Category: Tutorials

Logout CSRF Protection

Created 14 years ago by Rodrigo Coelho Rodrigo Coelho, updated 14 years ago by Rodrigo Coelho Rodrigo Coelho.

CSRF is the acronymn for Cross-site request forgery.
It is an attack which forces an end user to execute unwanted actions on a web application in which he/she is currently authenticated.

10 0
11 followers
Viewed: 31 599 times
Version: 1.1
Category: Tutorials

CListView AJAX filtering

Created 14 years ago by Draga Draga, updated 14 years ago by Draga Draga.

This tutorial shows how to filter CListView items by AJAX, and it's compatible with disabled JavaScript users
In my case this has been done to filter users list

13 0
27 followers
Viewed: 79 734 times
Version: 1.1
Category: Tutorials

Yii tinymce结合syntaxHighlighter和syntax

Created 14 years ago by Darwin Wen Darwin Wen, updated 14 years ago by Darwin Wen Darwin Wen.

首先我们需要下载好Yii tinymce扩展,放入你的extensions目录下,

1 0
0 follower
Viewed: 14 175 times
Version: 1.1
Category: Tutorials

Ativando temas no Zii Widgets

Created 14 years ago by Ivan Wilhelm Ivan Wilhelm, updated 14 years ago by Ivan Wilhelm Ivan Wilhelm.

Um aspecto do design da interface de usuário tem a ver com a coerência do design e da utilização das cores entre os diferentes componentes da interface do usuário utilizada.

4 2
4 followers
Viewed: 13 076 times
Version: 1.1
Category: Tutorials

To configure Yii path in Windows platform

Created 14 years ago by Coda Coda, updated 14 years ago by Coda Coda.

I can see many questions regarding configuring the path using Windows OS. I could hardly get the right information about it. The cook book has defined for Linux. So I would like to share my idea on it. To configure the Yii path using Windows OS,

0 6
4 followers
Viewed: 51 379 times
Version: 1.1
Category: Tutorials

Understanding Virtual Attributes and get/set methods

Created 14 years ago by Steve Friedl Steve Friedl, updated 13 years ago by GOsha GOsha.

When you define or extend a class, you can create class variables and methods in Yii just like you can in any other PHP system:

class Comment extends CActiveRecord {
    public $helperVariable;
    public function rules() { ... }
    ...
}

and then use them in the obvious way:

$var   = $model->helperVariable;
$rules = $model->rules();

This part everybody understa...

66 0
44 followers
Viewed: 209 277 times
Version: 1.1
Category: Tutorials

Understanding Autoloading, Helper Classes and Helper Functions

Created 14 years ago by Steve Friedl Steve Friedl, updated 13 years ago by GOsha GOsha.

Many Yii users ask how to create helper classes and functions, and though there are numerous approaches spread out among the forum and wiki articles, this Tutorial tries to bring it all together in one place.

22 0
26 followers
Viewed: 125 486 times
Version: 1.1
Category: Tutorials

Impersonate Users within Yii Framework

Created 14 years ago by Woil Woil, updated 14 years ago by Woil 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: 28 284 times
Version: 1.1
Category: Tutorials

Understanding "Assets"

Created 14 years ago by Steve Friedl Steve Friedl, updated 13 years ago by GOsha GOsha.

Many newcomers to Yii ask about the assets/ directory found under the webroot, and this article means to explain why it's there and how to work with it.

46 0
40 followers
Viewed: 214 019 times
Version: 1.1
Category: Tutorials

CJuiDialog to create new model

Created 14 years ago by zaccaria zaccaria, updated 9 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

In this tutorial we will learn how to realize a create interface using a dialog.

55 0
64 followers
Viewed: 169 716 times
Version: 1.1
Category: Tutorials

How to create nice modal login widget with a CJuiDialog

Created 14 years ago by Igor Ivanovic Igor Ivanovic, updated 14 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

You have to extend the widget class and configure it for user login widget

6 0
30 followers
Viewed: 78 150 times
Version: 1.1
Category: Tutorials

Getting to Understand Hierarchical RBAC Scheme

Created 14 years ago by daemons daemons, updated 10 years ago by rAWTAZ rAWTAZ.

Authentication and Authorization is a good tutorial. Among other topics, it describes basic aspects of Yii's RBAC implementation. But however hard I read the tutorial, I couldn't understand how exactly the hierarchy works. I found how to define authorization hierarchy, how business rules are evaluated, how to configure a...

47 0
56 followers
Viewed: 130 525 times
Version: 1.1
Category: Tutorials

embed a view file of the class which implement the CAction.

Created 14 years ago by Davidhhuan Davidhhuan, updated 14 years ago by Davidhhuan Davidhhuan.

In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/ControllerNAME, then when we use the same actions class in different controllers, we have to copy it...

1 1
2 followers
Viewed: 27 564 times
Version: 1.1
Category: Tutorials

belajar AR : part 1 (learn AR : part 1)

Created 14 years ago by rianday rianday, updated 14 years ago by rianday rianday.

hai teman yii... apa kabar.. kembali lagi bersama catatan saya..

0 0
1 follower
Viewed: 18 280 times
Version: 1.1
Category: Tutorials
Tags: indonesia

Introducción al control de acceso basado en roles (RBAC)

Created 14 years ago by Juan Calvo Juan Calvo, updated 14 years ago by Juan Calvo Juan Calvo.

Todos los que hemos empezado a utilizar Yii para crear aplicaciones Web, nos hemos dado de bruces cuando hemos intentado poner a funcionar el RBAC (acceso de control basado en roles).

15 1
9 followers
Viewed: 77 329 times
Version: 1.1
Category: Tutorials

How To Customize CMenu Output

Created 14 years ago by Angelo Angelo, updated 14 years ago by Angelo Angelo.

CMenu comes with a lot of great customization options built in but sometimes you need it to do more.

7 0
15 followers
Viewed: 69 447 times
Version: 1.1
Category: Tutorials
Tags: menu

Cambiando el diseño de JuiWidgets

Created 14 years ago by Luis Lobo Borobia Luis Lobo Borobia, updated 14 years ago by Ivan Wilhelm Ivan Wilhelm.

Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

0 0
4 followers
Viewed: 16 712 times
Version: 1.1
Category: Tutorials
Tags: