Wiki

Articles in category "tutorials"X
Displaying 161-170 of 253 result(s).

Ativando temas no Zii Widgets

Created 5 years ago by Ivan WilhelmTutorials3 comments – viewed 9,048 times – ( +4 / -2 ) – version 1.1
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.

To configure Yii path in Windows platform

Created 5 years ago by CodaTutorials2 comments – viewed 39,019 times – ( +3 / -6 ) – version 1.1
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,

Understanding Virtual Attributes and get/set methods

Created 5 years ago by Steve FriedlTutorials20 comments – viewed 137,902 times – ( +80 / -1 ) – version 1.1
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:

Understanding Autoloading, Helper Classes and Helper Functions

Created 5 years ago by Steve FriedlTutorials4 comments – viewed 94,296 times – ( +29 ) – version 1.1
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.

Impersonate Users within Yii Framework

Created 5 years ago by WoilTutorials6 comments – viewed 16,358 times – ( +22 ) – version 1.1
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".

Understanding "Assets"

Created 5 years ago by Steve FriedlTutorials12 comments – viewed 154,962 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 to create new model

Created 5 years ago by zaccariaTutorials53 comments – viewed 95,007 times – ( +68 ) – 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 5 years ago by Igor IvanovicTutorials3 comments – viewed 51,141 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 5 years ago by daemonsTutorials15 comments – viewed 95,698 times – ( +63 ) – 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 5 years ago by DavidhhuanTutorials1 comment – viewed 8,439 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