Wiki

Sorted by ratingX
Displaying 421-430 of 467 result(s).

Adding 'disabled' to CCheckBoxColumn and support for yiigridview.js

Created 6 months ago by Xgamer99Tips3 comments – viewed 3,983 times – ( +1 )
I recently had to have a checkbox column in my grid view that supported the 'disabled' attribute. This was easy enough to do by extending the CCheckBoxColumn. However, I also wanted the checkbox to be selected when clicking on the table's row (supported via CGridView's selectableRows option). I discovered I had to tweak yiigridview.js so that it would not select disabled rows when clicking on it or on the 'select all' checkbox.

Syncing sessions between Yii and KCFinder

Created 6 months ago by Thanasis FotisHow-tos5 comments – viewed 2,614 times – ( +1 )
I have been trying to find information on how to sync the sessions between Yii and KCFinder so that the two applications can "communicate" with each other. I managed to find some bits and pieces on the correct approach to use, but not a definite guide or concrete code.

MigrateCommand class for multiple sites using one code base

Created 5 months ago by Hudson NguyenHow-tos1 comment – viewed 1,993 times – ( +1 )
My CMS supports multiple sites using one code base therefore the db connection can only be configured by detecting the site's domain.

TimeZone dropDown

Created 5 months ago by Tibor KatelbachHow-tos0 comments – viewed 3,152 times – ( +1 )
I spend a bit of time looking for the this piece of code while building time feature on a site this tutorial also helped Local time zones and locales

Upload Files to Rackspace Cloud Files CDN

Created 3 months ago by StephenMiracleTutorials0 comments – viewed 2,768 times – ( +1 )
** I actually made this into an extension for easier use. You can view the extension: http://www.yiiframework.com/extension/rackspaceconnect/

an easy way to required multi columns(At least one cannot be blank)

Created about a year ago by 1065227709Tips0 comments – viewed 3,501 times – ( +1 )
in model add the following code:
tags: rules

How to use a component before every action of a controller

Created about a month ago by transistorTips1 comment – viewed 2,630 times – ( +1 )
I guess this is a tip on how to execute some code before every action in a controller, because I will tell you how I did it and maybe you can use the idea in your project.

Implementing menu items with progress (wait) dialog

Created 26 days ago by TrejderHow-tos0 comments – viewed 2,386 times – ( +1 )
This article shows one of possible ways to implement menu items (as well as links), which displays a progress / wait dialog and are redirecting browser to destination URL in the same time. This is especially useful, for links or routes that are know to be loaded for a prolonged period of time (i.e. getting a lot of data from database).

How to make use of a fragment cache

Created 4 years ago by dalipTutorials0 comments – viewed 5,413 times – ( +1 )
According to the manual http://jp.php.net/manual/en/memcache.installation.php;
tags: cache, memcache

How to extend yiic shell commands

Created 3 years ago by qiangTutorials1 comment – viewed 13,237 times – ( +1 )
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic