Articles in category "tutorials", sorted by date (updated)X
Displaying 131-140 of 251 result(s).

Create Yii Project In Cloud9

Updated 4 years ago by BenTutorials5 comments – viewed 24,917 times – ( +3 ) – version 1.1
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.

Simple RBAC

Updated 4 years ago by StagelineTutorials17 comments – viewed 87,087 times – ( +50 / -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.

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Updated 4 years ago by bluezedTutorials5 comments – viewed 30,134 times – ( +10 / -1 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Our WebApp that will run without downtime during update/upgrade

Updated 4 years ago by Maurizio Domba CerinTutorials3 comments – viewed 9,790 times – ( +8 / -2 ) – version 1.1
How many of us wonder how we can upgrade the website without hurting the operation of our WebApp?
tags: tutorial

Custom Number Formatting or Decimal Separators and i18n

Updated 4 years ago by c@cbaTutorials8 comments – viewed 52,006 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...

Simple way to use AutoComplete using different ID and Display Value

Updated 4 years ago by raheelk2kTutorials5 comments – viewed 25,170 times – ( +11 ) – version 1.1
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.

Using CAutoComplete to display one value and submit another

Updated 4 years ago by mohammad sharif ahrariTutorials5 comments – viewed 50,391 times – ( +8 / -3 ) – version 1.1
Note: CAutoComplete is deprecated since Yii 1.1.3. Consider using CJuiAutoComplete.

Serve jQuery and jQuery-UI from Google's CDN

Updated 4 years ago by fadTutorials15 comments – viewed 28,672 times – ( +14 / -1 ) – version 1.1
There are good reasons to use Google's Content Delivery Network (CDN) to serve jQuery and jQuery UI on your site:

How to setup CKeditor

Updated 4 years ago by Dark-SunTutorials4 comments – viewed 23,572 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 CGridView in Admin Panel

Updated 4 years ago by vibhaJadwaniTutorials18 comments – viewed 76,599 times – ( +43 / -1 ) – version 1.1
This is a tutorial for how to add input text-Field, check-box, buttons in CGridView.