[rt-users] How to display a logo in RT 3.8.2

Matthew Seaman matthew.seaman at thebunker.net
Thu Feb 26 12:57:39 EST 2009


Jet Wilda wrote:
> Hi,
> 
>     I followed these http://wiki.bestpractical.com/view/ChangeLogo 
> directions, but there still isn't any logo getting displayed.  When I do 
> a view source I see the code for the logo but nothing is displayed on 
> the page.  I also found this 
> http://www.gossamer-threads.com/lists/rt/users/78249?do=post_view_threaded 
> which looks like the same issue I'm having.  Any and all help is greatly 
> appreciated.

The CSS for the web2 style prevents the logo image being displayed.  As a
quick way of telling that the modifications you made so far are correct, try
setting your preferences to use one of the other styles. The logo should
appear. 

To make the logo appear under the default web2 style, as well as changing the
background to match the colour scheme of our company logo I created a local
copy of layout.css with the following changes:

% diff -u /usr/local/share/rt38/html/NoAuth/css/web2/layout.css  /usr/local/www/rt38/NoAuth/css/web2/layout.css
--- /usr/local/share/rt38/html/NoAuth/css/web2/layout.css       2009-02-25 22:19:11.000000000 +0000
+++ /usr/local/www/rt38/NoAuth/css/web2/layout.css      2009-02-17 11:37:42.000000000 +0000
@@ -53,7 +53,7 @@
     padding:0;
     margin:0;
 
-    background: #547CCC url(<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/images/background-gradient.png) top left repeat-x ;
+    background: #a2a2a2 url(<%RT->Config->Get('WebPath')%>/NoAuth/css/web2/images/background-gradient.png) top left repeat-x ;
     font-family: arial, helvetica, sans-serif;
 
 }
@@ -163,10 +163,10 @@
 
 
 div#logo a {
-     display: none;
-    position: absolute;
-    left: 0;
-    bottom: 0;
+    /* display: none; */
+    position: fixed;
+    left: 1%;
+    bottom: 1%;
 }
 div#logo a img {
     border: 0;


(Note the file names are from the FreeBSD layout for rt-3.8.x -- on most systems
the original file would be in ${RTHOME}/html/NoAuth/css/web2/layout.css and the modified copy should go into ${RTHOME}/local/NoAuth/css/web2/layout.css)

This displays the logo in the bottom left of the browser window -- it's fixed relative
to the window rather than scrolling with the page content.  I also cooked up a modified
background-gradient.png in gimp -- just changing the colours -- which I installed into
/usr/local/www/rt38/NoAuth/css/web2/images/source/background-gradient.png.  In order
to get it to display I had to copy /usr/local/share/rt38/html/NoAuth/css/web2/images/dhandler to /usr/local/www/rt38/NoAuth/css/web2/images/dhandler

Et voilà.

	Cheers,

	Matthew

-- 
Dr Matthew Seaman                     The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers            Marshborough Rd
Tel: +44 1304 814890                  Sandwich
Fax: +44 1304 814899                  Kent, CT13 0PL, UK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090226/0133144e/attachment.sig>


More information about the rt-users mailing list