Wiki

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

Url: hide index.php

Created about a year ago by HermansHow-tos13 comments – viewed 43,145 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,126 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,834 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,213 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,204 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.

How to set up Unicode

Created 4 years ago by MikeHow-tos9 comments – viewed 35,709 times – ( +16 )
To fix issues with display of special language characters once and for all there's a solution: use Unicode UTF-8 everywhere. If everything is set up to use Unicode, you can use mostly every language in your application.
tags: i18n, unicode

Simple authorization system

Created about a year ago by GustavoHow-tos1 comment – viewed 15,265 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,500 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,476 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 15,044 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.