Customizing osTicket: How to Edit the Header Image and Footer
on July 18, 2011
osTicket is an excellent piece of support ticket software. In addition to having an easy-to-use interface and straightforward feel, it is also open-source and free.
After installing osTicket, many people and businesses like to customize the appearance to maintain brand / theme continuity with the rest of their site. The below sections provide instructions for editing the header image / replacing the stock osTicket image with your own and editing the footer content.
Editing the osTicket Header Image:
1) Upload Your Desired Header Image to WordPress
Size the image you want to use to 290px × 59px and upload via FTP or by logging in to WP Admin > Media > Add New > Upload.
Note the location / URL of the background image for later.
2) Get the Header File
Open the directory to which osTicket is installed and edit include/client/header.inc.php
3) Locate and Edit the Header Image Code
Find this section of code in the header.inc.php (line 16):
<div id="header">
<a id="logo" href="index.php" title="Support Center"><img src="./images/logo2.jpg" border=0 alt="Support Center"></a>
<p><span>SUPPORT TICKET</span> SYSTEM</p>
</div>
and change the URL from logo2.jpg to that of the image that you uploaded in step.
Note: You can also edit the “SUPPORT TICKET SYSTEM” text in the following line if you’d like.
4) Save the header.inc.php file and upload it back to your server. Refresh the osTicket index and your logo will appear. If it doesn’t, try clearing your cache and refreshing again.
Editing the osTicket Footer:
1) Locate /include/client/footer.inc.php.
2) Find the following code:
<div id="footer">Copyright © osTicket.com. All rights reserved</div>
and edit the text within the div to customize your footer content. osTicket asks that you leave the powered by osTicket link as a show of support.
I was looking for this info in order to edit a copy of osTicket for my workplace and found your explanation to be very helpful and the directions were concise and easy to follow!
Thanks a bunch,
Lisa
You’re welcome! Glad they worked well for you.
I have been trying to find out how to do this for the past YEAR. Thank you! Your instructions are so clear, I doubt that I will have any problems branding my osTicket installation.
Julia
You’re welcome. Good luck with your customization.
Thanks a lot… this was really useful!
You’re welcome, glad you found it to be helpful. Please consider linking to the post.
Thank You Very Much! Only searched for “osticket files” on Big G and you came up number 10 out of 465k results. Excellent short information to help with osticket file changes, excellent site and excellent seo results.
Hi,
Thanks for your great tuto. Is it possible to add a picture to the emails sent to the clients ?
I’m looking for a while, without resultat.
Thank you in advance.
Hi David, just emailed you for some further info. Let us know. Thanks!
Thank you! Your instructions are so clear, i could do it very easly
Thanks for your Excellent tips. it’s working for me.
Thanks . please continue to write more about os-ticket customization …:)
A million thanks. I was looking for this for our support site.
Thanks a lot. Just customized osTicket on my site and it is looking cool 🙂
Not sure if this question is outside the scope of this post but I been trying to integrate osticket into by website with no success. Any ideas?
.
As of now i have it configured so that if you click on a link it opens up in a separate page/tab.
How exactly are you trying to integrate it with your site, i.e. in the footer, sidebar, etc.?
I tired as suggested, but without luck. Furthermore, it seems that includeclientheader.inc.php is the wrong file? Even if I enter a die(); on the first php line, osticket works. Any idea?
Have you tried clearing your cache? Also, make sure the file path is correct.
Thanks for this terrific write-up. Now that I’ve managed to customize the logo, and the footer, I’d like to customize the background to match my existing website, and change the colors of some of the text. Can you please let me know what files need to be edited to accomplish this?
Cheers!
Take a look at the CSS files. Modifying the actual text can be done in the template files. Let us know if you need any further guidance.
how to remove the kangaroo mark of this comes with powered y it wont go
You need to edit the footer code to remove it. If you’re having difficulties, send us an email with a copy of your footer.inc.php and we can take a look at it.
Hi
As ou know, The version 1.8 of OSTickets allows sending tickects in html.
I need to customize my tickets with the logo of my company .
I can insert the logo successfully, but as a LINK , not as an image that is in the database OSTickets .
By default there is an image called powered -by – osticket.png that is displayed successfully in email client
The problem occurs when the user receives the email ticket , the default image appears correctly, but my logo.png is blocked , forcing the user to allow Outlook , Thunderbird , etc , to have to click to allow the image of my logo is displayed correctly.
How do I upload my logo.png to the same place where this powered-by-osticket.png image ?
In fact , when I try to customize the template and insert an image , a window opens with the option to insert an image (where the only images in this place is powered-by-ostcket.png ) with the insert image option and the other option is to link a file.
How do I can put my logo.png in the same place ?
The easiest way would be to check out the path on the powered-by-osticket.png, rename your logo powered-by-osticket.png and upload to the same directory, overwriting the default OS Ticket image. Alternatively, you could edit the template file, which is a bit more elegant of a solution.
Hello,
I’m running osTicket v1.8.1 under Fedora 20 (Apache/2.4.6, PHP/5.5.9, MySQL 5.5.35).
All is good but when I upload files on opening a ticket, the attachments aren’t usable.
I checked the BLOB in database, and I found that 3 bytes where missing in the database. So the browser can’t display the files correctly.
When I upload an image to change the logo, there is the same problem so the logo can”t be displayed correctly.
Have you any idea what I can correct to use this feature ?
Thanks.
Thanks for your guide. I was really looking for another, specific customization, but this guide helped me to find what and where to edit.
How to change this string in login page Sign in to?
How to change this string in login page Sign in to?
I have a problem with the received email. Receiving email doesn’t show the osticket logo. it prints Powered by osTicket but didn’t appear the image and in mail there is nothing like show image or other option. please help.
I have problem with received email. it doesn’t show the the logo of osticket. Template does have logo at the bottom but it didn’t show in email. It just print the alt tag as it is. please help.
How to change the title and image logo in the browser for the agent logins and relevant pages.
Can someone help me setup ticket update via email.
I get carried away by the instructions provided.
Thank you.