Wiki articles in category Tutorials

Showing 161-180 of 258 items.

config Use MS SQL SERVER 2005 2008.

Created 8 years ago by vcxz_1982, updated 7 years ago by 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: 61 465 times
Version: 1.1
Category: Tutorials

Implementing a User Level Access System

Created 8 years ago by Antonio Ramirez, updated 5 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: 58 881 times
Version: 1.1
Category: Tutorials

Logout CSRF Protection

Created 8 years ago by Rodrigo Coelho, updated 8 years ago by 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: 22 229 times
Version: 1.1
Category: Tutorials

CListView AJAX filtering

Created 8 years ago by Draga, updated 8 years ago by 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: 72 279 times
Version: 1.1
Category: Tutorials

Yii tinymce结合syntaxHighlighter和syntax

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

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

1 0
0 follower
Viewed: 10 601 times
Version: 1.1
Category: Tutorials

Ativando temas no Zii Widgets

Created 8 years ago by Ivan Wilhelm, updated 8 years ago by 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: 10 618 times
Version: 1.1
Category: Tutorials

To configure Yii path in Windows platform

Created 8 years ago by Coda, updated 8 years ago by 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: 44 055 times
Version: 1.1
Category: Tutorials

Understanding Virtual Attributes and get/set methods

Created 8 years ago by Steve Friedl, updated 7 years ago by 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...

65 0
44 followers
Viewed: 167 611 times
Version: 1.1
Category: Tutorials

Understanding Autoloading, Helper Classes and Helper Functions

Created 8 years ago by Steve Friedl, updated 7 years ago by 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
27 followers
Viewed: 109 767 times
Version: 1.1
Category: Tutorials

Impersonate Users within Yii Framework

Created 8 years ago by Woil, updated 8 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: 20 331 times
Version: 1.1
Category: Tutorials

Understanding "Assets"

Created 8 years ago by Steve Friedl, updated 7 years ago by 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.

45 0
40 followers
Viewed: 181 749 times
Version: 1.1
Category: Tutorials

CJuiDialog to create new model

Created 8 years ago by zaccaria, updated 3 years ago by Maurizio Domba Cerin.

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

55 0
65 followers
Viewed: 105 906 times
Version: 1.1
Category: Tutorials

How to create nice modal login widget with a CJuiDialog

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

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

6 0
30 followers
Viewed: 55 612 times
Version: 1.1
Category: Tutorials

Getting to Understand Hierarchical RBAC Scheme

Created 8 years ago by daemons, updated 4 years ago by 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
58 followers
Viewed: 109 932 times
Version: 1.1
Category: Tutorials

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

Created 8 years ago by Davidhhuan, updated 8 years ago by 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: 9 613 times
Version: 1.1
Category: Tutorials

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

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

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

0 0
1 follower
Viewed: 9 543 times
Version: 1.1
Category: Tutorials
Tags: indonesia

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

Created 8 years ago by Juan Calvo, updated 8 years ago by 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: 61 839 times
Version: 1.1
Category: Tutorials

How To Customize CMenu Output

Created 8 years ago by Angelo, updated 8 years ago by 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: 65 557 times
Version: 1.1
Category: Tutorials
Tags: menu

Cambiando el diseño de JuiWidgets

Created 8 years ago by Luis Lobo Borobia, updated 8 years ago by 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: 12 929 times
Version: 1.1
Category: Tutorials
Tags:

Theming your Zii Widgets

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

One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

17 0
32 followers
Viewed: 56 508 times
Version: 1.1
Category: Tutorials