Wiki articles in category Tutorials

Showing 181-200 of 265 items.

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 451 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 551 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 274 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 315 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 445 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 683 times
Version: 1.1
Category: Tutorials
Tags:

Theming your Zii Widgets

Created 14 years ago by Luis Lobo Borobia Luis Lobo Borobia, updated 14 years ago by Ivan Wilhelm 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
31 followers
Viewed: 63 116 times
Version: 1.1
Category: Tutorials

Yii and XAMPP server on Windows

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

This article explains issues about installing XAMPP server package (Lite version) on Windows OS and configuring it for serving webapps written in Yii. Please note, that XAMPP is available for many more platforms and systems. I write about Windows edition as it was the only one tested by me.

3 0
0 follower
Viewed: 81 685 times
Version: 1.1
Category: Tutorials

Module based login

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

If you want to add module based login to a site without using RBAC, please follow these guidelines.

13 0
18 followers
Viewed: 93 905 times
Version: 1.1
Category: Tutorials

CSS Naming Conventions

Created 14 years ago by qiang qiang, updated 6 years ago by samdark samdark.

In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

35 0
24 followers
Viewed: 52 726 times
Version: 1.1
Category: Tutorials

Integrating FirePHP

Created 14 years ago by ricardograna ricardograna, updated 14 years ago by ricardograna ricardograna.
  • Install Firebug plugin for Firefox from here.
7 0
6 followers
Viewed: 19 132 times
Version: 1.1
Category: Tutorials
Tags:

NetBeans IDE and Yii projects

Created 14 years ago by marcovtwout marcovtwout, updated 10 years ago by marcovtwout marcovtwout.

This page is created to supply short directions and general tips for managing a Yii application in NetBeans IDE.

65 0
66 followers
Viewed: 255 816 times
Version: 1.1
Category: Tutorials

How to add an analogue clock widget on your skeleton application

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


Followings are the simple steps to put an analogue clock widget on your skeleton application that is just generated by yiic.

1 0
1 follower
Viewed: 12 807 times
Version: 1.1
Category: Tutorials
Tags:

List with multiple checkbox

Created 15 years ago by matkaz matkaz, updated 15 years ago by matkaz matkaz.

It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted

4 0
8 followers
Viewed: 41 844 times
Version: 1.1
Category: Tutorials
Tags:

Add information to Yii::app()->user by extending CWebUser (better version)

Created 15 years ago by emix emix, updated 11 years ago by Anas AbuDayah Anas AbuDayah.

I found a better solution.

5 0
10 followers
Viewed: 51 510 times
Version: 1.1
Category: Tutorials
Tags: rbac, user, Yii

Using CJuiDialog to display flash Messages in Dialogues

Created 15 years ago by thyseus thyseus, updated 15 years ago by thyseus thyseus.

In order to nicely display flash Messages, create view like this called views/site/dialog.php :

10 0
9 followers
Viewed: 29 620 times
Version: 1.1
Category: Tutorials
Tags:

Multiple Databases and Multiple Domains

Created 15 years ago by got 2 doodle got 2 doodle, updated 14 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

Add these lines in /config/main.php

'components'=>array(
.........
		'db'=>array(
			'connectionString' => 'mysql:host=localhost;dbname=database1',
			'emulatePrepare' => true,
			'username' => 'root',
			'password' => 'itsasecret',
			'charset' => 'utf8',
		),
		'db2'=>array(
		    'class' => 'CDbConnection',
			'connectionString' => 'mysql:host=localhost;dbname=databa...
13 2
15 followers
Viewed: 58 468 times
Version: 1.1
Category: Tutorials
Tags: database

Named scope - Get orphan AR without losing primary key

Created 15 years ago by cma cma, updated 14 years ago by Steve Friedl Steve Friedl.

Sometime, in a many-to-many relation, you need to retrieve AR that aren't linked. In practice, AR with null value in the join table. So you implements a criteria like this :

public function scopeUnused( $useAnd = true )
    {
        $join = " left outer join composed_by j on t.ID = j.ID ";
        $condition = ' j.ID Is Null';

0 0
2 followers
Viewed: 10 389 times
Version: 1.1
Category: Tutorials
Tags:

Installing WAMP - Apache, MySQL, & PHP on Windows 7

Created 15 years ago by Yeti Yeti, updated 14 years ago by Trejder Trejder.

Installing WAMP on XP was pretty easy; W7 is not so trivial. It's not difficult once you know, but it took me best part of a day to figure out and required gleaning various bits of information from around the web; this tutorial brings it all together in one place to (hopefully) make other peoples lives that bit easier. It does assume that you are reasonably happy configuring Apache, PHP, and MySQL...

2 0
1 follower
Viewed: 47 268 times
Version: 1.1
Category: Tutorials
Tags:

Add charts / print buttons to your webapp

Created 15 years ago by CoLT CoLT, updated 14 years ago by CoLT CoLT.

In this article you will find Yii framework extensions enabling you to add various charts/print out buttons etc. to your webapp.

6 0
9 followers
Viewed: 39 792 times
Version: 1.1
Category: Tutorials