Wiki

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

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Updated 4 years ago by yJeroenTutorials8 comments – viewed 57,213 times – ( +21 ) – version 1.1
This tutorial gives you multiple options of how to fully implement showing, sorting and filtering related data in gridviews.

Beginner / Intro Tutorials (please add to / update this list)

Updated 4 years ago by Gerhard LiebenbergTutorials1 comment – viewed 41,463 times – ( +5 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

Create Yii Project In Cloud9

Updated 4 years ago by BenTutorials5 comments – viewed 25,246 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,822 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,590 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,943 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,897 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,497 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,694 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,994 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: