Wiki

Displaying 111-120 of 600 result(s).

Building Page Specific Menus using CMenu

Created 9 months ago by mistrybHow-tos1 comment – viewed 5,903 times
The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.
tags: CMenu

Customizing the CMenu Widget

Created 9 months ago by mistrybTips1 comment – viewed 17,345 times – ( +1 )
The CMenu class provides some useful features for generating menus in your web application.

How to use bizRules in standard accessControl filter

Created 9 months ago by redguyHow-tos8 comments – viewed 6,491 times – ( +3 )
I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

Generate a multi-lever array sub-category for a menu

Created 9 months ago by KonApazHow-tos7 comments – viewed 7,660 times – ( +10 )
Everyone have seen a multilayer menu in several CMS

Yii User and Rights Implementation

Created 9 months ago by Rajith RHow-tos4 comments – viewed 12,770 times – ( +4 )
implementing some features of yii user and rights.

Log Activity in DataBase

Created 9 months ago by mahdi1986Tutorials6 comments – viewed 7,116 times – ( +7 )
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 10 months ago by VINAY Kr. SHARMAHow-tos5 comments – viewed 11,099 times – ( +5 )
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Popup AJAX DialogBox without any extension

Created 10 months ago by KonApazHow-tos6 comments – viewed 9,668 times – ( +7 / -1 )
In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

multiple CActiveDataProviders in one CGridView

Created 10 months ago by KonApazHow-tos5 comments – viewed 7,932 times – ( +7 / -1 )
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

Search a file size range in CGridView

Created 10 months ago by CrazyCatTips0 comments – viewed 2,895 times – ( +2 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".