Wiki

Articles in category "tutorials", sorted by commentsX
Displaying 71-80 of 172 result(s).

CSS Naming Conventions

Created 2 years ago by qiangTutorials4 comments – viewed 21,003 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.

Custom Number Formatting or Decimal Separators and i18n

Created 9 months ago by c@cbaTutorials4 comments – viewed 9,815 times – ( +3 )
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...

How To Customize CMenu Output

Created 2 years ago by AngeloTutorials4 comments – viewed 33,156 times – ( +9 )
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

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

Created 2 years ago by Juan CalvoTutorials4 comments – viewed 20,942 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).

How to display static pages in Yii with database content?

Created 7 months ago by yasenTutorials4 comments – viewed 8,435 times – ( +4 )
To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

Understanding Autoloading, Helper Classes and Helper Functions

Created 2 years ago by Steve FriedlTutorials4 comments – viewed 36,729 times – ( +23 )
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.

Htaccess .. SEO Friendly Url

Created 5 months ago by manoj20Tutorials4 comments – viewed 5,247 times – ( +2 / -7 )
hello firend if u need a SEO friendly URL
tags: yii

How to customize the error message of a validation rule

Created 4 years ago by qiangTutorials3 comments – viewed 29,821 times – ( +12 )
Validators extending from CValidator all have a property named message. You can set this property in the corresponding validation rule to customize the error message. For example, the following validation rule uses an error message that is different from the default one:

How to setup yiic on WAMP (XP/Vista)

Created 4 years ago by krillzipTutorials3 comments – viewed 49,016 times – ( +2 )
This page assumes that you have installed Wampserver on your MS Windows computer.

Eclipse PDT - code-hints, references and other goodies

Created 4 years ago by mindehTutorials3 comments – viewed 20,876 times – ( +13 )
Since PHP is dynamically typed language, the way IDE may help you is limited.
tags: IDE