Wiki

Sorted by viewsX
Displaying 411-420 of 782 result(s).

CSV Export

Created 4 years ago by JohnPollardHow-tos5 comments – viewed 16,829 times – ( +4 ) – version 1.1
I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.
tags: csv, export

BUM - Add Additional Info to a User

Created 3 years ago by fireflyHow-tos1 comment – viewed 16,697 times – ( +1 ) – version 1.1
How to add additional information to a user when using BUM extension?

Create a custom menu using CMenu data-items (flat or tree structure)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 16,693 times – ( +4 ) – version 1.1
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

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

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 16,580 times – ( +10 ) – version 1.1
Everyone have seen a multilayer menu in several CMS

YII2: Create console commands inside a module or extension

Created about a year ago by MetaCrawlerTutorials5 comments – viewed 16,576 times – ( +4 ) – version 2.0
Here is a small guide how to get console commands running inside modules & extensions. For this guide I used a fresh yii2 basic application template.
tags: yii2, tutorial, config

Extending CActiveForm for some form display fixes and language tweaks

Created 6 years ago by TrejderTips0 comments – viewed 16,529 times – ( +5 ) – version 1.1
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

Extending an ActiveRecord model

Created 3 years ago by BogseyHow-tos3 comments – viewed 16,499 times – ( +2 / -3 ) – version 1.1
Introduction

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 2 years ago by Rajith RTutorials0 comments – viewed 16,445 times – ( +8 ) – version 1.1
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
tags: newbie, yii, yiic

Customizing Yii's formatting rules (extending CFormatter)

Created 5 years ago by HaenselTips0 comments – viewed 16,411 times – ( +14 ) – version 1.1
CFormatter is one of Yii's core components and used to format values displayed in widgets like CGridView or CDetailView. All classic formats like numbers, text, urls or datetime are supported but you may have to use a formatting rule that isn't built in. Let's say we want to display arrays of strings (like tags associated with a product model). When using CDetailView we would usually make use of PHPs implode function to create a simple string value of all values in the $product->tags array.

Impersonate Users within Yii Framework

Created 5 years ago by WoilTutorials6 comments – viewed 16,368 times – ( +22 ) – version 1.1
For some applications it can be advantageous for administration reasons to allow site administrators to login as other users. This is sometimes called user impersonation or "becoming that user".