Jump to content


samusaki

Member Since 20 Apr 2015
Offline Last Active Apr 29 2015 10:23 AM
-----

Posts I've Made

In Topic: Can you change the action icons?

20 April 2015 - 05:09 AM

Just in case some one from google is trying to get quick solution :
 

Just type in your php code :

$css_class = 'fa-eye';
$crud->add_action( string $label,  string $image_url , string $link_url , string $css_class ,  mixed $url_callback);

Or whatever ICON name like this : "fa-" + "icon_name". You can get icon names from :
http://fortawesome.g...-Awesome/icons/

Or check css file in your dir. :

"/themes/bootstrap/css/font-awesome/css/font-awesome.min.css"

 

 

If that amount of icons is not enough :

 

"./application/controllers/mycontroller.php" inside php :

$crud->add_action( '',  '' , '' , 'icon' ,'');

style.css <- example

.icon{
//yourcss
}