[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 14:31:21 EDT 2007


Obviously, RT is installed in /usr/local/lib/rt3.  To make custom changes
to your logo without changing the default Logo file, put the customized
Logo file in /usr/local/lib/rt3/local/htmlElements/Logo.

Next, dump the $LocalPath setting in RT_SiteConfig.pm - it's not needed.
BTW, what is the path to your RT_SiteConfig.pm file?

And what's in /usr/share/rt3?  Is this simply a symbolic link to
/usr/local/lib/rt3?


James Moseley




                                                                           
             Luke E Morgan                                                 
             <lmorgan at mtl-inst                                             
             .com>                                                      To 
                                       James Moseley                       
             08/08/2007 10:26          <jmoseley at corp.xanadoo.com>         
             AM                                                         cc 
                                       rt-users at lists.bestpractical.com    
                                                                   Subject 
                                       Re: [rt-users] Trying to change the 
                                       logo. Fedora Core 7,    RT3.6.3 yum 
                                       install                             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




It appears to be almost fixed now.
The system configuration on the web interface has this line :
RT::LocalPath /usr/local/lib/rt3

so I created
/usr/local/lib/rt3/html/Elements/Logo
and made that use the local logo that I wanted.

Cleared the mason cache, restarted Apache and it worked !!

I tried altering that variable in RT_SiteConfig.pm using this line, and it
doesn't seem to have any effect ....
Set( $LocalPath, '/usr/share/rt3/local/');

For the time being, I am happy to have the ability to create my own local
config, but is there a particular reason why
RT might be ignoring my SiteConfig of the LocalPath variable ?

Thank you all for your help.

(Embedded image moved to file: pic18467.gif)Inactive hide details for Re:
[rt-users] Trying to change the logo. Fedora Core 7, RT3.6.3 yum installRe:
[rt-users] Trying to change the logo. Fedora Core 7, RT3.6.3 yum install

                                                                           
 (Embedded (Embedded image moved to file: pic26500.gif)                    
 image                                                                     
 moved to                                                                  
 file:     Re: [rt-users] Trying to change the logo. Fedora Core 7,        
 pic06334. RT3.6.3 yum install                                             
 gif)                                                                      
                                                                           
           (Embedded image moved to file: pic19169.gif)                    
           James Moseley                                                   
                                             (Embedded image moved to      
                                             file: pic15724.gif)           
                                             to:                           
                                                   (Embedded image moved   
                                                   to file: pic11478.gif)  
                                                   Luke E Morgan, rt-users 
                                  (Embedded image moved to file:           
                                  pic29358.gif)                            
                                                          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(Embedded image moved to
file: pic26962.gif)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic18467.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic06334.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic26500.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic19169.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic15724.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic11478.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic29358.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic26962.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070808/229c29e1/attachment-0007.gif>


More information about the rt-users mailing list