Wiki articles

Showing 161-180 of 651 items.

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 10 years ago by Ankit Modi, updated 9 years ago by Rohit Suthar.

1) include the fancybox extesion otherwise fancybox js

0 0
4 followers
Viewed: 19 039 times
Version: 1.1
Category: Tutorials

Visualization tree-multi subcategories as listbox or dropdownlist

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?

4 0
4 followers
Viewed: 27 796 times
Version: 1.1
Category: How-tos

Useful Multilanguage extensions collection and use.

Created 10 years ago by cihappy, updated 9 years ago by Rohit Suthar.

What I want to achieve:

2 0
3 followers
Viewed: 9 897 times
Version: 1.1
Category: Tips

Multiple Database Connection : Select database based on login user id, Dynamic

Created 10 years ago by Rajith R, updated 9 years ago by parthshah.

create a class file under protected\components named RActiveRecord.php

6 0
12 followers
Viewed: 44 281 times
Version: 1.1
Category: How-tos

CGridView Date Range Without Cookies or Session (External Filtering)

Created 10 years ago by ezekielnoob, updated 8 years ago by ezekielnoob.

Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below: grid

3 0
8 followers
Viewed: 21 111 times
Version: 1.1
Category: How-tos
6 1
9 followers
Viewed: 58 644 times
Version: 1.1
Category: How-tos

how to make a dynamic progress bar to show the percentage or status

Created 10 years ago by hehbhehb, updated 9 years ago by Boaz.

Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

3 0
7 followers
Viewed: 46 276 times
Version: 1.1
Category: How-tos

Display Status image on CGridView column

Created 10 years ago by Ankit Modi, updated 5 years ago by samdark.

How to display status image on admin gridview.

0 0
5 followers
Viewed: 21 125 times
Version: 1.1
Category: Tutorials

A very easy way to setup yiic on WAMP server (without extra windows settings)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

Assuming that you have already install the wampserver on your windows.

3 1
4 followers
Viewed: 51 111 times
Version: 1.1
Category: Tutorials

"safe" and "unsafe" Model validators (massive assignments)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by brianvu.

Ok, it is a little bit difficult to full understanding the unsafe validator.

2 2
7 followers
Viewed: 36 170 times
Version: 1.1
Category: How-tos

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 10 years ago by Gerhard Liebenberg, updated 9 years ago by Gerhard Liebenberg.

If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

3 0
2 followers
Viewed: 23 213 times
Version: 1.1
Category: How-tos

using editors of yiibooster - fix issues - configuration

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Nur Rochim.

if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

4 0
4 followers
Viewed: 13 432 times
Version: 1.1
Category: How-tos

Create Excel File with PHPExcel Plugin (Insert Image in Excel Sheet ,Use Template to Create Excel File, Create New Sheet)

Created 10 years ago by codesutra, updated 9 years ago by codesutra.

This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for [PHPExcel library](https://github.co...

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created 10 years ago by codesutra, updated 9 years ago by codesutra.

Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.

4 0
11 followers
Viewed: 81 138 times
Version: 1.1
Category: Tutorials

Insert a multirow header in CGridView

Created 10 years ago by Peppe, updated 9 years ago by Peppe.

The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way **you can write columns grouping h...

4 0
5 followers
Viewed: 27 194 times
Version: 1.1
Category: How-tos

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 10 years ago by softark, updated 8 years ago by softark.

It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

9 0
22 followers
Viewed: 59 446 times
Version: 1.1
Category: Tutorials

Building Page Specific Menus using CMenu

Created 10 years ago by mistryb, updated 9 years ago by mistryb.

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.

0 0
3 followers
Viewed: 17 093 times
Version: 1.1
Category: How-tos
Tags: CMenu

Customizing the CMenu Widget

Created 10 years ago by mistryb, updated 9 years ago by mistryb.

The CMenu class provides some useful features for generating menus in your web application.

1 0
4 followers
Viewed: 67 774 times
Version: 1.1
Category: Tips

How to use bizRules in standard accessControl filter

Created 10 years ago by Maciej Liżewski, updated 9 years ago by Maciej Liżewski.

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.

3 0
8 followers
Viewed: 20 870 times
Version: 1.1
Category: How-tos

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

Created 10 years ago by Kostas Apazidis (KonApaz), updated 9 years ago by Kostas Apazidis (KonApaz).

Everyone have seen a multilayer menu in several CMS

7 0
8 followers
Viewed: 26 901 times
Version: 1.1
Category: How-tos