Wiki

Articles tagged with "custom"X
Displaying 1-7 of 7 result(s).

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

Created 7 months ago by Fábio SalesHow-tos0 comments – viewed 3,158 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.

Add model validator in Controller

Created 10 months ago by Kostas Apazidis (KonApaz)Tips4 comments – viewed 6,971 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

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

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

Advanced CGridview issues - custom button using php and html

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

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 21,704 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,940 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.

custom sql query results to CDetailView

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