Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 61-70 of 249 result(s).

How to customize Yii core messages?

Created 7 years ago by qiangTutorials7 comments – viewed 49,910 times – ( +18 ) – version 1.1
Yii core messages refer to static text strings in the core Yii framework code which are meant to be displayed to end-users (e.g. core exception messages, default validation error messages). Customization of these core messages is needed in two circumstances:

Theming your Zii Widgets

Created 5 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 49,717 times – ( +20 ) – version 1.1
One aspect of User Interface Design has to do with the coherence of the design and the use of the colors between the different User Interface Components used.

Yii for beginners 2

Created 3 years ago by rackyczTutorials2 comments – viewed 49,666 times – ( +31 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

How to create nice modal login widget with a CJuiDialog

Created 5 years ago by Igor IvanovicTutorials3 comments – viewed 49,628 times – ( +9 / -1 ) – version 1.1
...folder /protected/components/UserLoginWidget.php... ...extending the CWidget class...
tags: user, login, modal, widget

Working with radiobutton list

Created 3 years ago by vibhaJadwaniTutorials3 comments – viewed 49,613 times – ( +10 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

config Use MS SQL SERVER 2005 2008.

Created 4 years ago by vcxz_1982Tutorials2 comments – viewed 49,288 times – ( +4 ) – version 1.1
Use SQL SERVER 2000, the date format not like: yyyy/mm/dd hh:mm:ss. So I change to use SQL SERVER 2008 EXPRESS.

Using CAutoComplete to display one value and submit another

Created 7 years ago by luoshibenTutorials5 comments – viewed 49,117 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Custom Number Formatting or Decimal Separators and i18n

Created 3 years ago by c@cbaTutorials8 comments – viewed 48,251 times – ( +7 ) – version 1.1
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...

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

Created 5 years ago by Juan CalvoTutorials4 comments – viewed 47,868 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).

Use shortcut functions to reduce typing

Created 6 years ago by qiangTutorials8 comments – viewed 47,266 times – ( +58 ) – version 1.1
Because Yii intends to be integrated nicely with third-party libraries, it does not define any global functions. Everything in Yii needs to be addressed with full class name or object scopes. For example, to access the current user, we need to use Yii::app()->user; to access application parameters, we need Yii::app()->params['name']; and so on. While editors like textmate can help alleviate the problem of these lengthy typings, it is worthwhile to define global shortcut functions to some commonly used method calls. They will make the application code look cleaner.