Wiki

Articles tagged with "custom", sorted by viewsX
Displaying 1-7 of 7 result(s).

custom sql query results to CDetailView

Created about a year ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 21,377 times – ( +3 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

Custom column in TbGridView with icon by condition, find out icon class glyphicons easy (YiiBooster)

Created about a year ago by Kostas Apazidis (KonApaz)Tips2 comments – viewed 20,534 times – ( +2 / -1 ) – version 1.1
First of all, You have to find out the class of the desired icon, so visit the http://getbootstrap.com/2.3.2/base-css.html#icons

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

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 13,331 times – ( +4 )
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.

How to create the custom Drop-down using CHtml::dropDownList

Created 10 months ago by Ankit ModiHow-tos1 comment – viewed 8,465 times – version all
Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

Add model validator in Controller

Created 7 months ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 5,353 times – ( +1 / -1 ) – version 1.1
There are cases that model validators should be depended by controller/action and you couldn't manipulate on the model class or using scenarios in easy way

Advanced CGridview issues - custom button using php and html

Created about a year ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 3,893 times – ( +1 ) – version 1.1
This wiki shows about how to make a custom column or how to pass php-Yii-html code in CButtonColumn (as a button)

How to create a custom exception and show it friendly with CJuiDialog

Created 3 months ago by Fábio SalesHow-tos0 comments – viewed 2,359 times – ( +1 ) – version 1.1
Sometimes we need to create our custom exception and show it to the end user through a friendly way . In this article, I'm showing how to do it using CJuidialog.