Wiki

Articles in category "tips", sorted by date (updated)X
Displaying 131-135 of 135 result(s).

Adding Yii Search to Your Browser Search Box

Updated 3 years ago by GOshaTips1 comment – viewed 30,973 times – ( +28 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search

Code style

Updated 3 years ago by g3ck0Tips2 comments – viewed 13,258 times – ( +29 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

Saving files to a blob field in the database

Updated 3 years ago by zaccariaTips8 comments – viewed 39,319 times – ( +9 / -2 ) – version 1.1
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
tags: File upload

Reading the doc

Updated 3 years ago by OrtekoTips0 comments – viewed 6,413 times – ( +21 ) – version 1.1
Almost all the information you need whilst working with yii is written in the Class Reference.
tags: doc

Ajax update

Updated 3 years ago by zaccariaTips2 comments – viewed 40,798 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX