SimpleDesk

SimpleDesk! => SimpleDesk Tracker => Topic started by: wintstar on November 29, 2015, 10:42:39 PM

Title: [Fixed] Bug icons Profile main-menu [Github]
Post by: wintstar on November 29, 2015, 10:42:39 PM
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://www.simpledesk.net/community/proxy.php?request=http%3A%2F%2Fscaricare.de%2Fupload%2Fshd%2Fshd_generic_icons.png&hash=cad339adca90f6d9badf72b1eb7e52f631f495c0)

https://github.com/SimpleDesk/SimpleDesk/issues/24 (https://github.com/SimpleDesk/SimpleDesk/issues/24)
Title: Re: Bug icons Profile main-menu [Github]
Post by: SleePy on November 29, 2015, 11:35:30 PM
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.
Title: Re: [Fixed] Bug icons Profile main-menu [Github]
Post by: SleePy on December 07, 2015, 04:24:50 PM
Added these changes in.