Jump to content

Adding an application icon?


LZDigital

Recommended Posts

Posted

icon2.png.6b964e359d94dca4f212ab563df0fad4.png

Add in \applications\%application%\dev\lang.php

	'menutab__application_icon' => 'icon',

In my case

	'menutab__football_icon' => 'futbol-o',


icon.thumb.png.b51ca99440ff757c493bb6e8c53e343c.png

Add in \applications\%application%\Application.php

	/**
	 * [Node] Get Icon for tree
	 *
	 * @note	Return the class for the icon (e.g. 'globe')
	 * @return	string|null
	 */
	protected function get__icon()
	{
		return 'icon';
	}

In my case

	/**
	 * [Node] Get Icon for tree
	 *
	 * @note	Return the class for the icon (e.g. 'globe')
	 * @return	string|null
	 */
	protected function get__icon()
	{
		return 'futbol-o';
	}

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...