News:

Loving SimpleDesk? Help us spread the word!

Main Menu

Topic solved
This topic is marked as solved and as such require no attention unless you want to bump this issue.

[Fixed] Bug icons Profile main-menu [Github]

Started by wintstar, November 29, 2015, 10:42:39 PM

Previous topic - Next topic

wintstar

Sorry, I had overlooked  :-[

The icons are not displayed in the user profile Main Menu. 


Open root/Sources/sd_source/Subs-SimpleDeskProfile.php
find
Code (php) Select
    // Put it here so we can reuse it for the left menu a bit
    $context['helpdesk_menu'] = array(
        'title' => $txt['shd_profile_area'],
        'areas' => array(
            'helpdesk' => array(
                'label' => $txt['shd_profile_main'],


replace with
Code (php) Select
    // Put it here so we can reuse it for the left menu a bit
    $context['helpdesk_menu'] = array(
        'title' => $txt['shd_profile_area'],
        'areas' => array(
            'hd_profile' => array(
                'label' => $txt['shd_profile_main'],


Open root/Themes/default/css/helpdesk_icons.css
find
Code (css) Select
.generic_icons.profile
{
    background: url(../images/simpledesk/icons/shd_generic_icons.png) no-repeat;
    background-position: -167px -117px ;
}


after that
Code (css) Select
.generic_icons.hd_profile
{
    background: url(../images/simpledesk/icons/shd_generic_icons.png) no-repeat;
    background-position: -167px -117px ;
}

.generic_icons.hd_prefs{
    background: url(../images/simpledesk/icons/shd_generic_icons.png) no-repeat;
    background-position: -218px -25px ;
}

.generic_icons.hd_showtickets{
    background: url(../images/simpledesk/icons/shd_generic_icons.png) no-repeat;
    background-position: -217px -68px ;
}

.generic_icons.hd_permissions{
    background: url(../images/simpledesk/icons/shd_generic_icons.png) no-repeat;
    background-position: -218px -117px ;
}

.generic_icons.hd_actionlog{
    background: url(../images/simpledesk/icons/shd_generic_icons.png) no-repeat;
    background-position: -267px -25px ;
}



Replace shd_generic_icons.png with  these


https://github.com/SimpleDesk/SimpleDesk/issues/24

SleePy

Will work on getting this added.  BTW you don't need to add [Github] to the title.  That is done when I push it over.
Jeremy D — Spare-Developer

SleePy

Jeremy D — Spare-Developer