Wiki

Articles in category "tutorials"X
Displaying 151-160 of 238 result(s).

Understanding "Assets"

Created 4 years ago by Steve FriedlTutorials11 comments – viewed 124,767 times – ( +57 ) – version 1.1
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.

CJuiDialog for create new model

Created 4 years ago by zaccariaTutorials53 comments – viewed 84,077 times – ( +67 ) – version 1.1
In this tutorial we will learn how to realize a create interface using a dialog.

How to create nice modal login widget with a CJuiDialog

Created 4 years ago by Igor IvanovicTutorials3 comments – viewed 45,136 times – ( +9 / -1 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Getting to Understand Hierarchical RBAC Scheme

Created 4 years ago by daemonsTutorials15 comments – viewed 78,923 times – ( +62 ) – version 1.1
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 authManager, but almost nothing about how I should build my hierarchy, in what sequence its nodes are checked, when the checking process stops and what would be the checking result.

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

Created 4 years ago by DavidhhuanTutorials1 comment – viewed 7,319 times – ( +1 / -1 ) – version 1.1
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 from one controller to the other controller, so we also need the "same" view file work for us, here is an example.
tags: actions, render, views

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

Created 4 years ago by riandayTutorials0 comments – viewed 7,726 times – version 1.1
hai teman yii... apa kabar.. kembali lagi bersama catatan saya..
tags: indonesia

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

Created 4 years ago by Juan CalvoTutorials4 comments – viewed 40,433 times – ( +17 / -1 ) – version 1.1
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).

How To Customize CMenu Output

Created 4 years ago by AngeloTutorials7 comments – viewed 54,530 times – ( +10 ) – version 1.1
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Cambiando el diseño de JuiWidgets

Created 4 years ago by Luis Lobo BorobiaTutorials1 comment – viewed 9,269 times – version 1.1
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.

Theming your Zii Widgets

Created 4 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 45,216 times – ( +19 ) – version 1.1
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.