Trying to change the logo. Fedora Core 7, RT3.6.3 yum install

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 :
Intranet

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

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.

I’m using 3.6.3 (not from yum, though) and I have done the same thing,
up to this point. However, I have something different for the Logo file
changes:

Following suggestions from the wiki and the mailing list archives, I put
this line into the Logo file :
Intranet

Alternate Logo

Where WebBaseURL and WebImagesURL are:

Set($WebBaseURL , “http://machine.domain.com”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”); # default
Set($WebPath , “”); # default

Cleared the cache and that was it.

Regards,

joe
Joe Casadonte
joe.casadonte@oracle.com

========== ==========
== The statements and opinions expressed here are my own and do not ==
== necessarily represent those of Oracle Corporation. ==
========== ==========

Thanks for the suggestion. Unfortunately it doesn’t seem to have helped.

I’ve now set /usr/local/rt3/html/Elements/Logo
to read :
Intranet

Stopped apache, cleared the mason cache,
(rm -rf /var/cache/rt3/mason_cache/)

I edited my RT_SiteConfig.pm and commented out all the Logo variables and
set
Set($WebPath , “/”);
Set($WebImagesURL, $WebPath . “NoAuth/images/”);

Started up apache again, and it still displays the Best Practical logo.

I’ve also disable SElinux as it was affecting the mail delivery.
I’ll get RT working first, then go back and learn SE !

I also have
Set($LogToSyslog, ‘debug’);

in my RT_SiteConfig.pm and there is no message in /var/log/messages when I
view an RT web page.

   Re: [rt-users] Trying to change the logo. Fedora Core 7,     RT3.6.3 yum
   install                                                         
                                                                   
                                                                   
   Joe Casadonte                                                   
                 to:                                               
                   Luke E Morgan                                   
                                                           08/08/2007 13:12
                                                                   
                                                                   
                                                                   
                                                                   
   Cc:                                                             
      rt-users                                                     
  Please respond to joe.casadonte@oracle.com                       

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.

I’m using 3.6.3 (not from yum, though) and I have done the same thing,
up to this point. However, I have something different for the Logo file
changes:

Following suggestions from the wiki and the mailing list archives, I put
this line into the Logo file :
Intranet

Alternate Logo

Where WebBaseURL and WebImagesURL are:

Set($WebBaseURL , “http://machine.domain.com”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”); # default
Set($WebPath , “”); # default

Cleared the cache and that was it.

Regards,

joe
Joe Casadonte
joe.casadonte@oracle.com

========== ==========
== The statements and opinions expressed here are my own and do not ==
== necessarily represent those of Oracle Corporation. ==
========== ==========

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

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@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(”")%>"width=“92” height=“50”>

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://”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);

James Moseley

         Luke E Morgan                                                 
         <lmorgan@mtl-inst                                             
         .com>                                                      To 
         Sent by:                  rt-users@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 :
Intranet

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@bestpractical.com

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

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 Morgan08/07/2007 08:35          <lmorgan@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(”")%>"width=“92” height=“50”>

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://”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);

James Moseley

         Luke E Morgan
         <lmorgan@mtl-inst
         .com>                                                      To
         Sent by:                  rt-users@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 :
Intranet

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@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

Started up apache again, and it still displays the Best Practical logo.

Try logging out and logging back in.

Regards,

joe
Joe Casadonte
joe.casadonte@oracle.com

========== ==========
== The statements and opinions expressed here are my own and do not ==
== necessarily represent those of Oracle Corporation. ==
========== ==========

I would assume /usr/local/lib/rt3 exists? Is /usr/share/rt3 simply a
symbolic link to /usr/local/lib/rt3?

If RT is actually installed in /usr/local/lib, then see if
/usr/local/lib/rt3/local/html exists.

Lastly, check your Apache config and logs to see where RT is pulling the RT
logo from. That will at least give you start. If you still can’t figure
it out, simply edit the default Logo file (instead of trying to override
the default Logo file by having the file local/html/Elements/Logo).

James Moseley

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

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

(Embedded image moved to file: pic25547.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: pic32662.gif)
image
moved to
file: Re: [rt-users] Trying to change the logo. Fedora Core 7,
pic27644. RT3.6.3 yum install
gif)

       (Embedded image moved to file: pic32757.gif)                    
       James Moseley                                                   
                                         (Embedded image moved to      
                                         file: pic20037.gif)           
                                         to:                           
                                               (Embedded image moved   
                                               to file: pic12859.gif)  
                                               Luke E Morgan, rt-users 
                              (Embedded image moved to file:           
                              pic08723.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 Morgan08/07/2007 08:35          <lmorgan@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:

<img src=“<%$RT::WebImagesURL%>/” alt=“<%loc(”")%>"width=“92” height=“50”>

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://”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);

James Moseley

        Luke E Morgan
        <lmorgan@mtl-inst
        .com>                                                      To
        Sent by:                  rt-users@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 :
Intranet

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@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: pic09741.gif)

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.

   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 Morgan08/07/2007 08:35          <lmorgan@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(”")%>"width=“92” height=“50”>

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://”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);

James Moseley

         Luke E Morgan
         <lmorgan@mtl-inst
         .com>                                                      To
         Sent by:                  rt-users@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 :
Intranet

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@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

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@mtl-inst                                             
         .com>                                                      To 
                                   James Moseley                       
         08/08/2007 10:26          <jmoseley@corp.xanadoo.com>         
         AM                                                         cc 
                                   rt-users@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 Morgan08/07/2007 08:35          <lmorgan@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:

<img src=“<%$RT::WebImagesURL%>/” alt=“<%loc(”")%>"width=“92” height=“50”>

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://”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”);

James Moseley

        Luke E Morgan
        <lmorgan@mtl-inst
        .com>                                                      To
        Sent by:                  rt-users@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 :
Intranet

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@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)