[rt-users] Trying to change the logo. Fedora Core 7, RT3.6.3 yum install

James Moseley jmoseley at corp.xanadoo.com
Wed Aug 8 10:48:43 EDT 2007


Luke, just realized my response below was not sent to the list yesterday.
Reading your recent post, I just noticed something from your original post
yesterday:

> It has been installed into
> /usr/share/rt3
> I've created /usr/local/rt3/html/Elements/
> and copied the Logo file into that directory.

I am not familiar with the FC7 yum package of RT, but if the RT is
installed in /usr/share/rt3, why did you create your 'local' directory in
/usr/local?

You should have copied the Logo file to: /usr/share/rt3/local/html/Elements
(if you install from source, you have to create the Elements directory).

Unless there is something odd about the FC7 package, you currently have put
your Logo file in a directory (/usr/local/x.x.x) that will never be read by
RT.  Perhaps you simply made a typo in your post?


James Moseley




                                                                           
             James                                                         
             Moseley/BTV/PEGAS                                             
             US                                                         To 
                                       Luke E Morgan                       
             08/07/2007 08:35          <lmorgan at mtl-inst.com>              
             AM                                                         cc 
                                                                           
                                                                   Subject 
                                       Re: [rt-users] Trying to change the 
                                       logo. Fedora Core 7,    RT3.6.3 yum 
                                       install(Document link: James        
                                       Moseley)                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



I know this is covered somewhere in the documentation, cause I had to
figure this out at one point myself.  The method you are using below is for
versions prior to 3.6.x.  For 3.6.x versions, to change the logo you need
put customized changes in the local directory.  So, in your case, you'd
need to create /usr/local/rt3/local/html/Elements/ - then copy in the Logo
file, edit, delete the whole mason cache (looks like you are only deleting
parts of it?), and restart apache.

If that doesn't work, try getting rid of the Logo syntax in
RT_SiteConfig.pm and manually putting that stuff in the Logo file.  For
example:

    <a href="http://<RT URL>"><img src="<%$RT::WebImagesURL%>/<picutre
file>" alt="<%loc("<picture title>")%>"width="92" height="50"></a>

In order for the following to work, you'd need to define RT::WebImagesURL
in your RT_SiteConfig.pm:

Set($WebPath , "/rt");
Set($WebBaseURL , "https://<base RT URL>");
Set($WebImagesURL , $WebPath . "/NoAuth/images/");



James Moseley




                                                                           
             Luke E Morgan                                                 
             <lmorgan at mtl-inst                                             
             .com>                                                      To 
             Sent by:                  rt-users at lists.bestpractical.com    
             rt-users-bounces@                                          cc 
             lists.bestpractic                                             
             al.com                                                Subject 
                                       [rt-users] Trying to change the     
                                       logo. Fedora Core 7,    RT3.6.3 yum 
             08/07/2007 04:20          install                             
             AM                                                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




I'm sure I'm just missing something simple, but I cannot seem to change the
BP logo on my install of RT 3.6.3 on Fedora Core 7.
I've installed RT using yum (lazy I know, but it works apart from this
issue).

It has been installed into
/usr/share/rt3
I've created /usr/local/rt3/html/Elements/
and copied the Logo file into that directory.

I've added the logo I want to use into /usr/share/rt3/html/NoAuth/images
It is a 92x50pixels jpeg.

Following suggestions from the wiki and the mailing list archives, I put
this line into the Logo file :
<a href="<%$RT::LogoLinkURL%>"><img src="<%$RT::LogoURL%>" alt="Intranet"
width="<%$RT::LogoWidth%>" height="<%$RT::LogoHeight%>" /></a>

I have modified by RT_SiteConfig.pm file.
If I log into the web interface, under tools, choose system configuration,
the following variables are set :
RT::LogoLinkURL http://192.168.66.1
RT::LogoURL /rt3/NoAuth/images/mtllogo.jpg
RT::LogoWidth 92
RT::LogoHeight 50
RT::MasonDataDir /var/cache/rt3/mason_data

I've tried stopping the webserver, deleting Logo.obj from
/var/cache/rt3/mason_data/obj/3989424063/standard
When I restart apache, and refresh the RT page, Logo.obj is recreated with
the best practical logo in it.

Where am I going wrong ? Can anyone point me in the right direction please
?

Thanks in advance

Luke


This email message may contain privileged/confidential information and/or
copyright material. It is intended only for the use of the person(s) to
whom
it is addressed and any unauthorised use may be unlawful. If you receive
this
email by mistake, please advise the sender immediately by using the reply
facility in your email software and delete the material from your computer.


The material contained in this message does not constitute a binding
contract with any company within the MTL Instruments Group plc. Opinions,
conclusions and other information in this email that do not relate to the
official
business of this organisation shall be understood as neither given nor
endorsed
by it. Registered in England No. 1871978, VAT Reg. No 449343040,
MTL Instruments Ltd, Power Court, Luton, LU1 3JJ
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com









More information about the rt-users mailing list