How to add Company logo

How do I place a company logo on the top left corner on RT 3.8.2 ?

Also how do I place a icon next the URL in the url box of the browser so
it survives the next time upgrade?

I have done it for current version RT 3.4.5, but it has been really looong
time since I made those changes, so I don’t
remember, sigh

Thanks for your help

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

How do I place a company logo on the top left corner on RT 3.8.2 ?

Also how do I place a icon next the URL in the url box of the browser so
it survives the next time upgrade?

I have done it for current version RT 3.4.5, but it has been really looong
time since I made those changes, so I don’t
remember, sigh

I still need help with this

Thanks for your help


Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Perhaps folks were thinking you’d look in the Wiki first:

http://wiki.bestpractical.com/view/ChangeLogo

You will need to pay attention to the 3.5+ section regarding copying the
Logo file to RT_HOME/local/html/Elements/Logo

If you choose that method, you need not put all the SetLogo stuff in your
RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried the
instructions for RT 3.8. That seems fairly straightfoward and much easier
than creating a Logo file.

Also, no need to cc the devel list…

James MoseleyAsif Iqbal vadud3@gmail.com wrote:

On Thu, Apr 30, 2009 at 5:22 PM, Asif Iqbal vadud3@gmail.com wrote:
How do I place a company logo on the top left corner on RT 3.8.2 ?

Also how do I place a icon next the URL in the url box of the browser so
it survives the next time upgrade?

I have done it for current version RT 3.4.5, but it has been really
looong time since I made those changes, so I don’t
remember, sigh

I still need help with this

jmoseley@corp.xanadoo.com wrote:

Perhaps folks were thinking you’d look in the Wiki first:

http://wiki.bestpractical.com/view/ChangeLogo

You will need to pay attention to the 3.5+ section regarding copying the
Logo file to RT_HOME/local/html/Elements/Logo

If you choose that method, you need not put all the SetLogo stuff in your
RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried the
instructions for RT 3.8. That seems fairly straightfoward and much easier
than creating a Logo file.

Also, no need to cc the devel list…

James Moseley

Under 3.8 you can follow the instructions from the Wiki but you won’t
get a company logo showing up. That’s because the web2 CSS sets the
logo image to ‘display: none’ – there isn’t really a very good place to
stick a logo in the 3.8 page layout.

I did try adding a customised bit of CSS to add a corporate logo
attached to the background in the lower left of the browser
window. Copy …/NoAuth/css/web2/layout.css to your local tree in
the usual ‘cleanly customize’ way and change the entry for 'div#logo a’
like so:

div#logo a {
position: fixed;
left: 1%;
bottom: 1%;
}

Then clean the mason cache and restart.

This does work, but we turned it off after a while because it made
Firefox scroll like a dog – even worse than the effect due to the
rounded corners.

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

signature.asc (259 Bytes)

We don’t seem to have any problems using a 200x90 logo in our 3.8.2
install.

We have simply done the following:

Create a logo file: /local/htmlElements/Logo

With:

"> % if ($show_name) {
<% loc("RT for [_1]", $RT::rtname) %>
% }
<%args> $show_name => 1

Put image in /share/html/NoAuth/images

There are no SetLogo references in our RT_SiteConfig.

James MoseleyMatthew Seaman matthew.seaman@thebunker.net wrote:

Under 3.8 you can follow the instructions from the Wiki but you won’t
get a company logo showing up. That’s because the web2 CSS sets the
logo image to ‘display: none’ – there isn’t really a very good place to
stick a logo in the 3.8 page layout.

I did try adding a customised bit of CSS to add a corporate logo
attached to the background in the lower left of the browser
window. Copy …/NoAuth/css/web2/layout.css to your local tree in
the usual ‘cleanly customize’ way and change the entry for 'div#logo a’
like so:

div#logo a {
position: fixed;
left: 1%;
bottom: 1%;
}

Then clean the mason cache and restart.

This does work, but we turned it off after a while because it made
Firefox scroll like a dog – even worse than the effect due to the
rounded corners.

Fri 01 May 2009 16:29:05 GMT
jmoseley@corp.xanadoo.com wrote:

We don’t seem to have any problems using a 200x90 logo in our 3.8.2
install.

For what it’s worth, while I haven’t had a lot of time to deal with it,
the main problem I have had with setting our custom logo is that the
size of the div the logo lives in is dependant upon the width of the
text under the logo, which means that it’s not possible to have a logo
without a wide line of text under it.

I’m sure it’s a basic CSS thing, but because of the very complex way the
CSS is sourced for RT I didn’t get to the bottom of it before I ran out
of time last time I was looking into it.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Perhaps folks were thinking you’d look in the Wiki first:

http://wiki.bestpractical.com/view/ChangeLogo

You will need to pay attention to the 3.5+ section regarding copying the
Logo file to RT_HOME/local/html/Elements/Logo

If you choose that method, you need not put all the SetLogo stuff in your
RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried the
instructions for RT 3.8. That seems fairly straightfoward and much easier
than creating a Logo file.

Also, no need to cc the devel list…

James Moseley

Thanks for the wiki link. I just followed the 3.8 section since I am running
3.8.2 and I did exactly this

ls local/NoAuth/images/exmaple_logo.gif

local/NoAuth/images/example_logo.gif

vi etc/RT_SiteConfig.pm

Set($WebBaseURL , “https://rt.example.net”);
Set($WebURL , $WebBaseURL . $WebPath . “/”);
Set($WebImagesURL , $WebURL . “NoAuth/images/”);
Set($LogoURL , $WebImagesURL . “example_logo.gif”);
Set($LogoLinkURL, “https://rt.example.net”);
Set($LogoImageURL, $WebImagesURL . “example_logo.gif”);
Set($LogoAltText, “Example Company”);

Then cleaned the mason cache and restarted the webserver.

I do not see the compnay log or the alternate text :frowning:

How do I place a company logo on the top left corner on RT 3.8.2 ?

Also how do I place a icon next the URL in the url box of the browser so
it survives the next time upgrade?

I have done it for current version RT 3.4.5, but it has been really
looong time since I made those changes, so I don’t
remember, sigh

I still need help with this

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Perhaps folks were thinking you’d look in the Wiki first:

http://wiki.bestpractical.com/view/ChangeLogo

You will need to pay attention to the 3.5+ section regarding copying the
Logo file to RT_HOME/local/html/Elements/Logo

If you choose that method, you need not put all the SetLogo stuff in your
RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried
the
instructions for RT 3.8. That seems fairly straightfoward and much easier
than creating a Logo file.

Also, no need to cc the devel list…

James Moseley

Thanks for the wiki link. I just followed the 3.8 section since I am
running 3.8.2 and I did exactly this

ls local/NoAuth/images/exmaple_logo.gif

local/NoAuth/images/example_logo.gif

vi etc/RT_SiteConfig.pm

Set($WebBaseURL , “https://rt.example.net”);
Set($WebURL , $WebBaseURL . $WebPath . “/”);
Set($WebImagesURL , $WebURL . “NoAuth/images/”);
Set($LogoURL , $WebImagesURL . “example_logo.gif”);
Set($LogoLinkURL, “https://rt.example.net”);
Set($LogoImageURL, $WebImagesURL . “example_logo.gif”);
Set($LogoAltText, “Example Company”);

Then cleaned the mason cache and restarted the webserver.

I do not see the compnay log or the alternate text :frowning:

How do I place a company logo on the top left corner on RT 3.8.2 ?

Also how do I place a icon next the URL in the url box of the browser so
it survives the next time upgrade?

I have done it for current version RT 3.4.5, but it has been really
looong time since I made those changes, so I don’t
remember, sigh

I still need help with this

I see the alternate text now, but no logo

This is how I have it setup now

(root)@rt:/opt/rt3$ ls local/html/NoAuth/images/
example_logo.gif

(root)@rt:/opt/rt3$ less local/html/Elements/Logo

<% loc($RT::LogoAltText) %> % if ( $ShowName ) { <% $Name || loc("RT for [_1]", RT->Config->Get('rtname')) %> % }
<%INIT> if ( exists $ARGS{'show_name'} ) { $RT::Logger->warning('show_name argument was renamed, use ShowName'); $ShowName = delete $ARGS{'show_name'}; } <%ARGS> $ShowName => 1 $Name => undef

(root)@rt:/opt/rt3$ less local/html/NoAuth/css/web2/layout.css
[…]
div#logo a {
position: absolute;
left: 0;
bottom: 0;
}
[…]

(root)@rt:/opt/rt3$ less etc/RT_SiteConfig.pm

Set($WebBaseURL , “https://rt.example.net”);
Set($WebURL , $WebBaseURL . $WebPath . “/”);
Set($WebImagesURL , $WebURL . “NoAuth/images/”);
Set($LogoURL , $WebImagesURL . “example_logo.gif”);
Set($LogoLinkURL, “https://rt.example.net”);
Set($LogoImageURL, $WebImagesURL . “example_logo.gif”);
Set($LogoAltText, “Example Company”);
Set($LogoWidth, ‘177’);
Set($LogoHeight, ‘33’);

Cleaned up mason cache
(root)@rt:/opt/rt3$ rm -rf var/mason_data/obj/

Restarted web server

I only see the alternate text on the bottom left corner. No image. I also
verfified that the image is valid.
I copied it over from older RT installation 3.4.5

Now I am out of ideas. I am running RT 3.8.2


Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Asif, in your email today, your syntax did not contain what I wrote below
yesterday. Furermore, with this syntax, as said before, you sould not have
SetLogo statements in your RT_SiteConfig.pm config. This is only one way
to do it - I am sure there are others. I would search the wiki and the
mailing list archives - this is exactly how I arrived at my configuration
below.

James Moseley

jmoseley@corp.xanadoo.com wrote:

We don’t seem to have any problems using a 200x90 logo in our 3.8.2
install.

We have simply done the following:

Create a logo file: /local/htmlElements/Logo

With:

"> % if ($show_name) {
<% loc("RT for [_1]", $RT::rtname) %>
% }
<%args> $show_name => 1

Put image in /share/html/NoAuth/images

There are no SetLogo references in our RT_SiteConfig.

Quick and dirty way :
replace bp_logo.gif with your logo (even if is a png) (look in the css for
its emplacement. Browser actually don’t really care about the extension.

Less dirty modify the css.

RT has a semi rigid fixed layout, so I dearly advise to choose a logo of
the size of RT logo. Unless you want to hire an html/css pro for days
trying to desesperatly makes �things right� while offsets propagate in
your layout.

I changed the logo, I kept the © notice for 2 reasons :

  1. I promote RT as an efficient solution, and I am proud of promoting
    efficiency (egotic reason)
  2. podlach : BestPractical should be granted the merit of the solution
  3. there could be legal reason, but I don’t care, it is free software and
    it is comes with the territory to recognize others works :slight_smile:

So choose the ©ool attitude, it won’t lessen your merits :slight_smile:

Have fun