Wiki

Sorted by date (updated)X
Displaying 451-460 of 728 result(s).

Create Yii Project In Cloud9

Updated 2 years ago by BenTutorials5 comments – viewed 16,806 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 2 years ago by StagelineTutorials16 comments – viewed 69,747 times – ( +47 / -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 2 years ago by bluezedTutorials5 comments – viewed 21,721 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:

Custom Archive in Blog system

Updated 2 years ago by nirmalrokaTips0 comments – viewed 4,300 times – ( +2 ) – version 1.1
Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

Entire Messages into javascript object

Updated 2 years ago by markuxHow-tos0 comments – viewed 4,873 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

Customize CGridView columns directly in your view

Updated 2 years ago by clapasTips4 comments – viewed 22,716 times – ( +3 / -2 ) – version 1.1
You usually take a model instance passed into your view to provide data to a CGridView in this way:

Our WebApp that will run without downtime during update/upgrade

Updated 2 years ago by Maurizio Domba CerinTutorials3 comments – viewed 8,623 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

How to use Multiple instances of the same model in the same form

Updated 2 years ago by Maurizio Domba CerinHow-tos21 comments – viewed 33,618 times – ( +21 / -6 ) – version 1.1
When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update.

Multiple-database support in Yii

Updated 2 years ago by phazeiHow-tos15 comments – viewed 72,956 times – ( +28 ) – version 1.1
The customary configuration of a Yii application includes just a single database section in the protected/config/main.php file, but it's easy to extend this to support more than one, tying each Model to one of the databases.
tags: Database

Custom Number Formatting or Decimal Separators and i18n

Updated 2 years ago by c@cbaTutorials8 comments – viewed 35,487 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...