Articles in category "tutorials", sorted by viewsX
Displaying 21-30 of 240 result(s).

How to implement multiple page layouts in an application

Created 6 years ago by qiangTutorials2 comments – viewed 87,783 times – ( +24 ) – version 1.1
In this tutorial, we describe how to implement multiple layouts for action views in an application. As an example, we assume that the pages in our application will use three different layouts:
tags: layout

Organize directories for applications with front-end and back-end using WebApplicationEnd behavior

Created 5 years ago by andy_sTutorials26 comments – viewed 86,910 times – ( +35 ) – version 1.1
Previously there was described a way to build an application with front-end and back-end. I would like to continue this theme and suggest another way to organize directories using WebApplicationEnd behavior.

Setting and maintaining the language in Application (i18n)

Created 6 years ago by olafureTutorials12 comments – viewed 85,995 times – ( +23 ) – version 1.1
As seen in this post, Yii doesn't enforce how language is set and maintained within the session.
tags: i18n, translation

CJuiDialog for create new model

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

Getting to Understand Hierarchical RBAC Scheme

Created 4 years ago by daemonsTutorials15 comments – viewed 80,041 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.

Understanding Autoloading, Helper Classes and Helper Functions

Created 4 years ago by Steve FriedlTutorials4 comments – viewed 76,665 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.

Dynamic parent and child CGridView on single view. Using $.ajax to update child gridview via controller, after row in parent gridview was clicked.

Created 3 years ago by Gerhard LiebenbergTutorials20 comments – viewed 73,109 times – ( +27 / -1 ) – version 1.1
This wiki is a step-by-step example explaining how the controller, model and the view's CGridView work together. It explains simple things - as well as more complex things that you will anyway quickly have to know. So, even if you don't use dynamic gridviews, take a morning off and thoroughly work through this tutorial. It should save you lots of struggling.

Simple RBAC

Created 3 years ago by hasanaviTutorials17 comments – viewed 72,758 times – ( +47 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

How to setup yiic on WAMP (XP/Vista)

Created 6 years ago by krillzipTutorials3 comments – viewed 71,345 times – ( +3 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

How to learn Yii?!

Created 3 years ago by yJeroenTutorials6 comments – viewed 71,037 times – ( +25 ) – version all
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.