Wiki

Sorted by ratingX
Displaying 681-690 of 719 result(s).

Translation from .txt file

Created 3 months ago by Yatin MistryTutorials6 comments – viewed 2,027 times – ( +1 / -4 ) – version 1.1
Translation from .txt file Note:
tags: translation

CPhpAuthManager - how it works, and when to use it

Created 3 years ago by dckurushinHow-tos5 comments – viewed 19,612 times – ( +1 / -4 ) – version 1.1
Before reading this article, you should first learn this How to setup RBAC with a php file

Save or Update Multiple related model values in one Tabular input form

Created 7 months ago by KonApazTutorials4 comments – viewed 5,634 times – ( +1 / -6 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

CRUD operation in Yii framework

Created 6 months ago by Mohammad FareedTutorials4 comments – viewed 3,984 times – ( +1 / -6 ) – version all
Simple Yii Script for performing CRUD operations:

Analyse the server's USER-AGENT against browsecap file to determine it's capability.

Created about a month ago by Deepak PradhanTips0 comments – viewed 1,216 times – version 2.0
Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini

First Yii App: CTabView

Created 5 years ago by meanpenguinTutorials1 comment – viewed 17,586 times – ( -2 ) – version 1.1
Once you are completed with the "Creating First Yii Application", the following can be done.

Gettext and Poedit HOWTO

Created about a month ago by Maug LeeTutorials0 comments – viewed 1,061 times – version 1.1
Example settings when using Gettext for i18n.

Q: My yiic tool cannot run model and crud commands. Why?

Created 5 years ago by qiangTutorials1 comment – viewed 7,348 times – version 1.1
Some PHP installations may use a different php.ini file for CLI PHP (command line PHP parser). As a result, when running the model or crud command in yiic shell, you may encounter errors like "YiiBase::include(PDO.php): failed to open stream..." or "...could not find driver", even though the requirement checker confirms you have PDO and the corresponding database driver.

How to keep filters simple in CGridView

Created 28 days ago by PeppeHow-tos2 comments – viewed 1,654 times – version 1.1
The problem is not new: after setting some filters in a grid (typically in admin view), and gone to another page, returning in the grid's page I would like to find the filters with previous setting mantained.

checkBox in CGridview

Created about 9 hours ago by n-rOthers0 comments – viewed 299 times – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :