Wiki

Displaying 101-110 of 599 result(s).

Display Status image on CGridView column

Created 9 months ago by Ankit ModiTutorials1 comment – viewed 5,450 times – ( +1 / -1 )
How to display status image on admin gridview.

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

Created 9 months ago by KonApazTutorials10 comments – viewed 13,576 times – ( +5 / -1 )
Assuming that you have already install the wampserver on your windows.

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

Created 9 months ago by KonApazHow-tos4 comments – viewed 7,056 times – ( +4 / -2 )
Ok, it is a little bit difficult to full understanding the unsafe validator.

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

Created 9 months ago by Gerhard LiebenbergHow-tos0 comments – viewed 7,230 times – ( +3 / -1 )
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.

using editors of yiibooster - fix issues - configuration

Created 9 months ago by KonApazTips0 comments – viewed 4,042 times – ( +5 )
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

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

Created 9 months ago by codesutraTutorials4 comments – viewed 20,536 times – ( +6 )
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.

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

Created 9 months ago by codesutraTutorials10 comments – viewed 17,029 times – ( +4 )
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.

Insert a multirow header in CGridView

Created 9 months ago by PeppeHow-tos2 comments – viewed 6,669 times – ( +4 )
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 headers, and obtain a nicer view.

Relational Query - Lazy Loading and Eager Loading / with and together

Created 9 months ago by softarkTutorials9 comments – viewed 12,024 times – ( +12 )
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.

Building Page Specific Menus using CMenu

Created 9 months ago by mistrybHow-tos1 comment – viewed 5,865 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