Removing Images Button and placing a text Field

Hi,

I am new to Yii framework. I need to removed the view/update/delete button in admin manage pages, instead of that i just show the text link with customized color. Please help me how to do that…

thanks in advance

Wester

Check this documentation for the update - http://www.yiiframework.com/doc/api/1.1/CButtonColumn#updateButtonImageUrl-detail

Find the same for other buttons :)

Hey i tried that to… But when i set false… It throws a icon with image options…

Can you give me a working example… I tried both way by changing core framework CButtonColumn.php as well as changing in my view options.

Eg:

In my view page

array(

		'class'=>'CButtonColumn',


	   // 'template'=>'{view}{update}{delete}',


		 'buttons'=>array


		 (


   		 'view' => array


    			(


         'label'=>'View',


		'viewButtonImageUrl'=>'false',


		


		


    		),


			 'update' => array


    	


    


),

and also tried by public $viewButtonImageUrl=‘false’; in CButtonColumn.php

I like to give links like View | Update | Delete (With customized color)… Give me a idea

thanks in advance

Wester

It’s not working because you put it inside the “buttons” property… put that line just bellow the ‘class’ line…