[rt-users] How to add Company logo

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Fri May 1 11:29:05 EDT 2009


We don't seem to have any problems using a 200x90 logo in our 3.8.2
install.

We have simply done the following:

Create a logo file: <path to RT>/local/htmlElements/Logo

With:

  <div id="logo">
    <a href="insert your URL here"><img
src="<%$RT::WebImagesURL%>/your-image.jpg" alt="<%loc("Your company
name")%>"></a>
% if ($show_name) {
    <div class="rtname"><% loc("RT for [_1]", $RT::rtname) %></div>
% }
  </div>
<%args>
  $show_name => 1
</%args>

Put image in <path to RT>/share/html/NoAuth/images

There are no SetLogo references in our RT_SiteConfig.


James Moseley



Matthew Seaman <matthew.seaman at thebunker.net> wrote:



Under 3.8 you can follow the instructions from the Wiki but you won't
get a company logo showing up.  That's because the web2 CSS sets the
logo image to 'display: none' -- there isn't really a very good place to
stick a logo in the 3.8 page layout.

I did try adding a customised bit of CSS to add a corporate logo
attached to the background in the lower left of the browser
window.  Copy .../NoAuth/css/web2/layout.css to your local tree in
the usual 'cleanly customize' way and change the entry for 'div#logo a'
like so:

div#logo a {
    position: fixed;
    left: 1%;
    bottom: 1%;
}

Then clean the mason cache and restart.

This does work, but we turned it off after a while because it made
Firefox scroll like a dog -- even worse than the effect due to the
rounded corners.





More information about the rt-users mailing list