Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 101-110 of 238 result(s).

Integrating with other frameworks

Created 5 years ago by KJediTutorials4 comments – viewed 16,544 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Tabular Input, Validating and Saving related models

Created about a year ago by Xavier JohnTutorials4 comments – viewed 18,756 times – ( +8 ) – version 1.1
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.

Ajax Login form with validation errors inside jQuery modal dialog

Created about a year ago by praviTutorials4 comments – viewed 26,588 times – ( +6 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

Simplified meta tags

Created 5 years ago by Y!!Tutorials4 comments – viewed 32,127 times – ( +13 ) – version 1.1
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.

Simple access control

Created 2 years ago by szfjozsefTutorials4 comments – viewed 31,085 times – ( +4 / -8 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

CSS Naming Conventions

Created 4 years ago by qiangTutorials4 comments – viewed 27,920 times – ( +35 / -1 ) – version 1.1
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.

How to setup CKeditor

Created 2 years ago by Dark-SunTutorials4 comments – viewed 17,466 times – ( +3 ) – version 1.1
To start with you need to download the latest stable release of CKeditor. Extract the downloaded file and place the ckeditor/ folder in your applications webroot directory. (beside "protected" and "css" and other directories)

Simple way to use AutoComplete using different ID and Display Value

Created 2 years ago by raheelk2kTutorials4 comments – viewed 19,317 times – ( +9 ) – version 1.1
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.

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

Created 4 years ago by Juan CalvoTutorials4 comments – viewed 39,164 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).

Understanding Autoloading, Helper Classes and Helper Functions

Created 3 years ago by Steve FriedlTutorials4 comments – viewed 72,576 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.