Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 51-60 of 174 result(s).

Display an AJAX tree from your DB using CTreeView

Created 3 years ago by François GannazTutorials9 comments – viewed 27,792 times – ( +20 )
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

How to display static pages in Yii?

Created 4 years ago by qiangTutorials2 comments – viewed 27,560 times – ( +15 )
In a Web application, we often need to display pages like "about this site", "legal information", whose content are mostly static. There are several approaches to deal with this kind of pages.
tags: static pages

Using the configuration file, explain what can be configured.

Created 3 years ago by atrandafirTutorials0 comments – viewed 27,537 times – ( +18 )
The purpose of this post is to let anyone quickly find how to accomplish a configuration task, and list here all the posibilities of the config.php file and also link to pages that explain how is each thing implemented.

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials10 comments – viewed 27,352 times – ( +27 )
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

How to add ajax-loading indicators

Created 3 years ago by schmunkTutorials5 comments – viewed 25,491 times – ( +25 )
With yii you're able to create ajax requests and updates easily. But most times you always want to show a loading indicatior to your user.
tags: AJAX

How to create/save more Model inputs and make them repeatable with jQuery

Created 4 years ago by qiangTutorials2 comments – viewed 23,940 times – ( +10 )
This is the first real problem that I encountered using Yii, trying to make a Model input repeatable in the form, validate and save them.

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

Created 2 years ago by Juan CalvoTutorials4 comments – viewed 22,018 times – ( +16 / -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).

XUpload Workflow

Created 11 months ago by AsgarothTutorials18 comments – viewed 21,882 times – ( +28 )
This wiki describes a more complex workflow using the XUpload widget

CSS Naming Conventions

Created 2 years ago by qiangTutorials4 comments – viewed 21,496 times – ( +35 )
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 hide index.php on nginx

Created 4 years ago by milesTutorials3 comments – viewed 21,425 times – ( +4 )
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
tags: URL