Page 1 of 1
Logos In header
Posted: Sun Dec 03, 2017 1:10 pm
by itmanager
Hi Mike,
Is it possible to display a small logo in the header ot top of the helpdesk in MFH, thanks?
BTW MFH is great bit of work
Regards
Andy
Re: Logos In header
Posted: Mon Dec 04, 2017 12:51 pm
by mkoch227
You can add any HTML/CSS into the header.txt file, and it will be displayed above the navbar.
If you want to add your logo inside the navbar, you'll need to modify the header.inc.php file and admin/show_admin_nav.inc.php files. That however it outside the scope of my support.
Re: Logos In header
Posted: Mon Dec 04, 2017 1:33 pm
by itmanager
Ok many thanks

Re: Logos In header
Posted: Sat Jan 13, 2018 10:32 pm
by jrentzke
header.inc.php
after line 255 which is </button>, add the lines below:
<!-- add logo to navbar -->
<a class="navbar-brand" href="
http://yourURL/helpdesk/">
<img src="
http://yourURL/helpdesk/img/logo.png" alt="alt_txt" width="40" height="26">
</a>
show_admin_nav.inc.php
after line 37 which is <?php if (defined('MFH... , again add the lines above.
Re: Logos In header
Posted: Sat Jan 13, 2018 10:34 pm
by itmanager
Thank you I will try it.
Re: Logos In header
Posted: Tue Jan 16, 2018 11:26 am
by topoldo
jrentzke wrote: Sat Jan 13, 2018 10:32 pm
header.inc.php
after line 255 which is </button>, add the lines below:
<!-- add logo to navbar -->
<a class="navbar-brand" href="
http://yourURL/helpdesk/">
<img src="
http://yourURL/helpdesk/img/logo.png" alt="alt_txt" width="40" height="26">
</a>
show_admin_nav.inc.php
after line 37 which is <?php if (defined('MFH... , again add the lines above.
Tnx for the trick!
Anyway, at least in my hands, while it is working on the client side (ie on the Home Page and on the submission ticket page), in the administrative pages the "Website name" one has to setup in the Helpdesk settings seems to "win" and I simply have this on the left of the "Helpdesk Title".
No logo image.
Regards,
Topoldo
Re: Logos In header
Posted: Tue Jan 16, 2018 5:56 pm
by mkoch227
The helpdesk title is printed to the page in two places in show_admin_nav.inc.php, depending on if the page has the black sidebar on the left (known internally as MFH_PAGE_LAYOUT == 'TOP_AND_SIDE') or if it only has the top header (MFH_PAGE_LAYOUT == 'TOP_ONLY'). Line 37 (as jrentzke mentioned) is used when the page layout has the sidebar. Line 23 begins the title display when there is no sidebar.