We don't really have much of a facility to use custom icons. The icons come from a sprite file and are defined in css.
There config entries are in config/definitions/wui.inc.php iirc.
You could perhaps define a custom CSS entry that loaded a custom icon, but man, seems a lot of effort :)
Adam.
Sent from BlueMail
On 30 May 2019, 14:42, at 14:42, Andrew Lemin via observium observium@observium.org wrote:
Good morning/afternoon/evening,
Just a quick question.
I have created a custom drop-down menu in the navbar, and would like to define a custom icon like; $config['icon’]['company-logo'] which provides a .png file in the images folder etc.
Or more specifically instead of; $navbar['4D-DC'] = array('url' => '#', 'icon' => $config['icon']['company-logo'], 'title' => 'URLS');
Maybe this would work (sadly it doesn’t); $navbar['4D-DC'] = array('url' => '#', 'icon' => ‘images/company-logo.png’, 'title' => ''URLS'');
I cannot find anywhere in the code where the $config['icon’] array is defined, and it is not in the database’s config table either?
Thanks, Andy.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium