Wiki

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

Working with radiobutton list

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

RBAC Super Simple with Admin and User

Created 2 years ago by evercodeTutorials10 comments – viewed 55,996 times – ( +17 / -4 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

Custom Number Formatting or Decimal Separators and i18n

Created 4 years ago by c@cbaTutorials8 comments – viewed 55,591 times – ( +7 / -1 ) – 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...

config Use MS SQL SERVER 2005 2008.

Created 6 years ago by vcxz_1982Tutorials2 comments – viewed 54,142 times – ( +4 / -1 ) – 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.

Yii for beginners 2

Created 4 years ago by rackyczTutorials2 comments – viewed 54,013 times – ( +32 / -1 ) – version 1.1
Hi :-) Is that you again? Welcome !! :-)

How to customize Yii core messages?

Created 8 years ago by qiangTutorials7 comments – viewed 52,846 times – ( +18 / -1 ) – 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:

Implementing a User Level Access System

Created 6 years ago by Antonio RamirezTutorials12 comments – viewed 52,828 times – ( +28 / -2 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

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

Created 6 years ago by Juan CalvoTutorials4 comments – viewed 52,801 times – ( +17 / -2 ) – 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).

Theming your Zii Widgets

Created 6 years ago by Luis Lobo BorobiaTutorials16 comments – viewed 52,059 times – ( +20 / -1 ) – 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.

How to create nice modal login widget with a CJuiDialog

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