Change Dashlet Icon

hi, I want to change my dashlet icon as image above. This is where you choose add dashlet.

But I have try



$dashletMeta['myArchivementDashlet'] = array(
					'title'       => 'My Archivement',
                                          'description' => 'Show all my Archivement Record',
                                          'category'    => 'Module Views',
					'icon'		  => 'icon_Charts_Funnel_32.gif',
                                        );

or


$dashletMeta['myArchivementDashlet']['icon'] = 'icon_Charts_Funnel_32.gif';

but both not working… please help…

What is your SuiteCRM version?

Where are those files placed, exactly?

Are those the full contents of the files?

What do you mean “not working”? What do you get? Any errors?

The CRM version was 7.8

The file location was at my custom module…

custom/modules/z_archivement/Dashlets/MyArchivementDashlet/MyArchivementDashlet.meta.php

below was full content of the file


<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

global $app_strings;

$dashletMeta['myArchivementDashlet'] = array(
					 'title'       => 'My Archivement',
                                          'description' => 'Show all my Archivement Record',
                                          'category'    => 'Module Views',
					'icon'		  => 'icon_Charts_Funnel_32.gif',
                                        );
?>

I try to change the icon as above, i google and check forum alot teaching with add

‘icon’ => ‘icon_Charts_Funnel_32.gif’,

as code above.

But after i repair and repair it also not changing the icon.

Thank in advance

I’m sorry, I never tried this, I’m not sure how it should work.

Do you see any errors in your logs?

In which path are you placing that icon file? Are you sure it’s the same place where SuiteCRM is looking for it?