SimpleDesk version: SimpleDesk 2.0.1
SMF version: SMF 2.1 Beta 2
Latest revision from the GitHub. Download is of branch smf21 from 08.11.2015.
MySQLi version: 5.6.25
PHP: 5.6.11
SMF 2.1 Beta 2 is from the latest revision from the GitHub 08.11.2015
Some icons are not displayed:
My suggested solution:
Creates a new folder "icons" in root/Themes/default/images/simpledesk/. Inserts the icons in this folder "icons" and the "helpdesk_icons.css" in root/Themes/default/css/:
Download icons and helpdesk_icons.css
Open root/Sources/sd_source/Subs-SimpleDeskAdmin.php
find
replaces with
find
replaces with
find
replaces with
find
replaces with
find
replaces with
find
replaces with
find
replaces with
find
replaces with
find
replaces with
Open root/Sources/sd_source/Subs-SimpleDesk.php
find
replaces with
After solution:
SMF version: SMF 2.1 Beta 2
Latest revision from the GitHub. Download is of branch smf21 from 08.11.2015.
MySQLi version: 5.6.25
PHP: 5.6.11
SMF 2.1 Beta 2 is from the latest revision from the GitHub 08.11.2015
Some icons are not displayed:
My suggested solution:
Creates a new folder "icons" in root/Themes/default/images/simpledesk/. Inserts the icons in this folder "icons" and the "helpdesk_icons.css" in root/Themes/default/css/:
Download icons and helpdesk_icons.css
Open root/Sources/sd_source/Subs-SimpleDeskAdmin.php
find
Code Select
function shd_admin_bootstrap(&$admin_areas)
{
global $sourcedir, $modSettings, $txt, $context, $scripturl;
replaces with
Code Select
function shd_admin_bootstrap(&$admin_areas)
{
global $sourcedir, $modSettings, $txt, $context, $scripturl, $settings;
// Load some extra CSS
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/css/helpdesk_icons.css" />';
find
Code Select
'icon' => 'shd/simpledesk.png',
replaces with
Code Select
'icon' => 'shd_simpledesk',
find
Code Select
'icon' => 'shd/options.png',
replaces with
Code Select
'icon' => 'shd_options',
find
Code Select
'icon' => 'shd/cannedreplies.png',
replaces with
Code Select
'icon' => 'shd_cannedreplies',
find
Code Select
'icon' => 'shd/custom_fields.png',
replaces with
Code Select
'icon' => 'shd_custom_fields',
find
Code Select
'icon' => 'shd/departments.png',
replaces with
Code Select
'icon' => 'shd_departments',
find
Code Select
'icon' => 'shd/permissions.png',
replaces with
Code Select
'icon' => 'shd_permissions',
find
Code Select
'icon' => 'shd/plugins.png',
replaces with
Code Select
'icon' => 'shd_plugins',
find
Code Select
'icon' => 'shd/maintenance.png',
replaces with
Code Select
'icon' => 'shd_maintenance',
Open root/Sources/sd_source/Subs-SimpleDesk.php
find
Code Select
function shd_main_menu(&$menu_buttons)
{
global $context, $txt, $scripturl, $modSettings;
replaces with
Code Select
function shd_main_menu(&$menu_buttons)
{
global $context, $txt, $scripturl, $modSettings, $settings;
// Load some extra CSS
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/css/helpdesk_icons.css" />';
After solution: