Wiki

Sorted by date (updated)X
Displaying 421-430 of 738 result(s).

MigrateCommand class for multiple sites using one code base

Updated 2 years ago by Hudson NguyenHow-tos1 comment – viewed 3,155 times – ( +1 ) – version 1.1
My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

Events explained

Updated 2 years ago by Ivo RenkemaTutorials9 comments – viewed 27,488 times – ( +22 / -3 ) – version 1.1
Let's see what exactly are the events in Yii!

Creating a jQueryUI Sortable CGridView

Updated 2 years ago by rAWTAZHow-tos22 comments – viewed 33,229 times – ( +47 / -1 ) – version 1.1
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.

How to display static pages in Yii with database content?

Updated 2 years ago by yasenTutorials5 comments – viewed 21,798 times – ( +11 ) – 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:

How to generate Yii-like Documentation

Updated 2 years ago by fsbHow-tos9 comments – viewed 27,059 times – ( +45 ) – version 1.1
Something a good application cant miss is documentation, and what would be better than some nice formatted HTML documentation that can be auto-generated from your code, we know several tools that already do this like phpDocumentor, but today we are introducing Yii Docs Generator which is a modification of the code that Yii itself uses to generate its documentation, thank phpnode for this wonderful work.
tags: doc

Understanding "Safe" Validation Rules

Updated 2 years ago by GismoFAQs11 comments – viewed 83,847 times – ( +93 / -1 ) – version 1.1
A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.

Using CButtonColumn to customize buttons in CGridView

Updated 2 years ago by GismoHow-tos18 comments – viewed 216,304 times – ( +98 ) – version 1.1
CGridView is a one of most flexible widgets in Yii and example its flexibility is CButtonColumn used to build buttons for steering model in each grid row. Here in this how-to we will explain ways user can customize CButtonColumn to flexibly fit it to its needs.

Secure password hashing with bCrypt

Updated 2 years ago by Ivo PereiraHow-tos3 comments – viewed 19,762 times – ( +9 ) – version 1.1
In this article I will show you how to implement a secure password hashing mechanism in your Yii projects using a bCrypt class.

How to use YiiBooster Bootstrap Gallery

Updated 2 years ago by Antonio RamirezHow-tos4 comments – viewed 22,845 times – ( +4 ) – version 1.1
Since version 1.0.4, Yii developers can make use of the image gallery provided by Sebastian Tshan, a great javascript developer that has created some true gems like the jquery file upload plugin.

AssetManager: clearing browser's cache on site update

Updated 2 years ago by dhampikHow-tos4 comments – viewed 25,858 times – ( +19 ) – version 1.1
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.