Wiki

Sorted by ratingX
Displaying 91-100 of 467 result(s).

Url: hide index.php

Created about a year ago by HermansHow-tos13 comments – viewed 43,084 times – ( +17 )
Maybe it looks simple, but some time ago I need some time to find a solution of this case. I finally got it, and I want to share that I also experienced such cases. So that it can make reference.

Using cache in CActiveDataProvider

Created about a year ago by StammTips7 comments – viewed 9,119 times – ( +17 )
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.

CJuiDialog and AjaxSubmitButton

Created 3 years ago by tydeas_drTutorials18 comments – viewed 59,783 times – ( +32 / -2 )
Hello ppl. Even though i have a small experience with yii I though of writing this to help people which want to do something similar.
tags: AJAX

Understanding series articles

Created about a year ago by GOshaTips0 comments – viewed 6,211 times – ( +16 )
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

How to learn Yii?!

Created about a year ago by yJeroenTutorials7 comments – viewed 37,185 times – ( +16 )
Here is a step by step To-Do list for Yii beginners. The list is an advice of what tutorials and documentation you can walk through to get a full understanding of the Yii Framework. These can be a help to learn Yii.

Simple authorization system

Created about a year ago by GustavoHow-tos1 comment – viewed 15,253 times – ( +16 )
How to create a simple (non-RBAC) authorization system

Using CJuiDatePicker for CGridView filter

Created about a year ago by softarkHow-tos3 comments – viewed 15,479 times – ( +16 )
We can use a CJuiDatePicker for a CGridView inline filter.

htmlOptions explained for various controls.

Created 2 years ago by WoilTips1 comment – viewed 24,452 times – ( +16 )
Most controls that are rendered by CHtml have an argument called $htmlOptions. This argument is an array that holds the attributes of the HTML element. For example the following code:

Use crypt() for password storage

Created 5 months ago by fsbTutorials11 comments – viewed 14,988 times – ( +16 )
There Is Now A cpasswordhelper Class In system.utils at GitHub that provides an API to simplify the use of crypt() for password storage. While this wiki article remains valid, it will in due course be rewritten to refer to the new class as well as explain how it works.

Using International Dates

Created 2 years ago by Russell EnglandHow-tos3 comments – viewed 18,980 times – ( +16 )
I needed British (dd/mm/yyyy) formatted dates throughout my application but found it very difficult to find examples of how to do this - until I found this excellent forum post http://www.yiiframework.com/forum/index.php?/topic/3649-dealing-with-i18n-date-formats/