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

Luke E Morgan lmorgan at mtl-inst.com
Wed Aug 8 11:09:21 EDT 2007


James,

Thanks for pointing that out.
I was following some instructions somewhere in setting that up.
If I can find them, and I didn't just follow them wrong, then I'll correct
them !

Unfortunately, your suggestion hasn't fixed my problem, but has got me
thinking along different lines.
I noticed these two lines in the System Configuration in the web interface
RT::MasonLocalComponentRoot /usr/local/lib/rt3/html
RT::LocalPath /usr/local/lib/rt3

Should either or both of these point to
/usr/share/rt3/local/html
??

Luke



                                                                       
                                                                       
                                                                       
       Re: [rt-users] Trying to change the logo. Fedora Core 7,     RT3.6.3 yum
       install                                                         
                                                                       
                                                                       
       James Moseley                                                   
                      to:                                              
                        Luke E Morgan, rt-users                        
                                                               08/08/2007 15:44
                                                                       
                                                                       






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







_____________________________________________________________

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/2a5a9971/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/2a5a9971/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic18467.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/2a5a9971/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/2a5a9971/attachment-0002.gif>


More information about the rt-users mailing list