Wiki

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

How to display static pages in Yii with database content?

Updated 4 years ago by yasenTutorials6 comments – viewed 29,545 times – ( +11 / -1 ) – version 1.1
To extend further static pages as shown by Qiang http://www.yiiframework.com/wiki/22/how-to-display-static-pages-in-yii/ here're the steps to take:

XUpload Workflow

Updated 5 years ago by AsgarothTutorials33 comments – viewed 74,832 times – ( +34 / -1 ) – version 1.1
This wiki describes a more complex workflow using the XUpload widget

Displaying, sorting and filtering HasMany & ManyMany relations in CGridView

Updated 5 years ago by yJeroenTutorials8 comments – viewed 60,642 times – ( +21 / -1 ) – 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 5 years ago by Gerhard LiebenbergTutorials1 comment – viewed 42,304 times – ( +5 / -1 ) – 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 5 years ago by BenTutorials5 comments – viewed 27,396 times – ( +3 / -1 ) – 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 5 years ago by StagelineTutorials17 comments – viewed 92,554 times – ( +50 / -4 ) – 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 5 years ago by bluezedTutorials5 comments – viewed 33,445 times – ( +10 / -2 ) – 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 5 years ago by Maurizio Domba CerinTutorials3 comments – viewed 10,531 times – ( +8 / -3 ) – 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 5 years ago by c@cbaTutorials8 comments – viewed 58,048 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...

Simple way to use AutoComplete using different ID and Display Value

Updated 5 years ago by raheelk2kTutorials5 comments – viewed 27,641 times – ( +11 / -1 ) – 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.