Wiki

Articles in category "tutorials"X
Displaying 61-70 of 203 result(s).

Custom Number Formatting or Decimal Separators and i18n

Created about a year ago by c@cbaTutorials6 comments – viewed 25,025 times – ( +5 ) – 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...

Auto set model fields values

Created about a year ago by vibhaJadwaniTutorials3 comments – viewed 11,990 times – ( +8 ) – version 1.1
This is a tutorial for how to auto set model values without any code.

Working with CGridView in Admin Panel

Created about a year ago by vibhaJadwaniTutorials17 comments – viewed 51,748 times – ( +41 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.

How to setup CKeditor

Created about a year ago by Dark-SunTutorials4 comments – viewed 13,837 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)

Working with radiobutton list

Created about a year ago by vibhaJadwaniTutorials1 comment – viewed 26,453 times – ( +9 ) – version 1.1
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

XUpload Workflow

Created about a year ago by AsgarothTutorials24 comments – viewed 39,977 times – ( +31 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

Simple access control

Created about a year ago by szfjozsefTutorials4 comments – viewed 25,782 times – ( +3 / -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.

MVC primer and 5 minute form walkthrough

Created about a year ago by rix.rix.Tutorials0 comments – viewed 14,471 times – ( +8 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

Simple RBAC

Created about a year ago by hasanaviTutorials15 comments – viewed 56,335 times – ( +42 / -3 ) – version 1.1
If you need simple Role based access control without the long RBAC process then this article is just for you. Lets jump to the point.

Events explained

Created about a year ago by pligorTutorials9 comments – viewed 21,030 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!