Can't Change logo

Hello

I’m trying to change the Logo with our Company ones

So I Followed the instruction here:


But it doesn’t work.

My Configs are:

RT_SiteConfig:

et($rtname , “examplecorp”);

Set($Organization , “rt.example.com”);

$user_passwd_min defines the minimum length for user passwords. Setting

it to 0 disables this check

$Timezone is used to convert times entered by users into GMT and back

again

It should be set to a timezone recognized by your local unix box.

#TIMEZONE . takes the timezone from linux installation.
my $zone = “UTC”;
$zone=’/bin/cat /etc/timezone’
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);
Set($WebPath , ‘/rt’);
Set($WebBaseURL , “http://rt.sba.local”);

#Set($WebBaseURL, “http://(your URL)”);
Set($LogoImageWidth, 100);
Set($LogoImageHeight, 100);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”); # need this for below
Set($LogoURL, $WebImagesURL . “SBA.gif”);
Set($LogoLinkURL, ‘http://rt.sba.local/rt/’);
Set($LogoImageURL, $WebImagesURL . “SBA.gif”);
Set($LogoAltText, “SBA”);
Set($LogoImageHeight, 55);
Set($LogoImageWidth, 383);

and here

Layout.css:

div#footer #bpscredits {
text-align: right;
background: url(<%RT->Config->Get(‘WebPath’)%>/NoAuth/images//bplogo.gif)
no-repeat top right;
padding-top: 4em;
}

/* logo stuff */

div#logo {
}

#div#logo a {

display: none;

position: absolute;

left: 0;

bottom: 0;

#}

div#logo a {
display: none;
position: fixed;
right: 1%;
bottom: 1%;
}

}
div#logo a img {

  • z-index: 100;
  • position: absolute;
    border: 0;
    }
    div#logo .rtname {

Ps: In earlier Versions of RT i only modfiied the layout.css file but with
newer Versions it doesn’t work anymore

best regards john
View this message in context: http://old.nabble.com/Can't-Change-logo-tp31340412p31340412.html

In addition to the new config settings to display a logo, we have to use
the attached style sheet patch for it to actually work for us. This was
also reported in this ticket:

http://issues.bestpractical.com/Ticket/Display.html?id=14882

From your message below, it looks like you still have "display: none;"
in your style sheet.

~JasonOn 04/07/2011 04:16 AM, john s. wrote:

Hello

I’m trying to change the Logo with our Company ones

So I Followed the instruction here:

http://requesttracker.wikia.com/wiki/ChangeLogo
http://requesttracker.wikia.com/wiki/ChangeLogo

But it doesn’t work.

My Configs are:

RT_SiteConfig:

et($rtname , “examplecorp”);

Set($Organization , “rt.example.com”);

$user_passwd_min defines the minimum length for user passwords. Setting

it to 0 disables this check

$Timezone is used to convert times entered by users into GMT and back

again

It should be set to a timezone recognized by your local unix box.

#TIMEZONE . takes the timezone from linux installation.
my $zone = “UTC”;
$zone=’/bin/cat /etc/timezone’
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);
Set($WebPath , ‘/rt’);
Set($WebBaseURL , “http://rt.sba.local”);

#Set($WebBaseURL, “http://(your URL)”);
Set($LogoImageWidth, 100);
Set($LogoImageHeight, 100);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”); # need this for below
Set($LogoURL, $WebImagesURL . “SBA.gif”);
Set($LogoLinkURL, ‘http://rt.sba.local/rt/’);
Set($LogoImageURL, $WebImagesURL . “SBA.gif”);
Set($LogoAltText, “SBA”);
Set($LogoImageHeight, 55);
Set($LogoImageWidth, 383);

and here

Layout.css:

div#footer #bpscredits {
text-align: right;
background: url(<%RT->Config->Get(‘WebPath’)%>/NoAuth/images//bplogo.gif)
no-repeat top right;
padding-top: 4em;
}

/* logo stuff */

div#logo {
}

#div#logo a {

display: none;

position: absolute;

left: 0;

bottom: 0;

#}

div#logo a {
display: none;
position: fixed;
right: 1%;
bottom: 1%;
}

}
div#logo a img {

  • z-index: 100;
  • position: absolute;
    border: 0;
    }
    div#logo .rtname {

Ps: In earlier Versions of RT i only modfiied the layout.css file but with
newer Versions it doesn’t work anymore

best regards john

rt-3.8.8-web2-style-sheet-logo.patch (508 Bytes)

In addition to the new config settings to display a logo, we have to use
the attached style sheet patch for it to actually work for us. This was
also reported in this ticket:

http://issues.bestpractical.com/Ticket/Display.html?id=14882

From your message below, it looks like you still have "display: none;"
in your style sheet.

Is these Patch only Recommend for rt 3.8.8 or also for 3.8.9

I forgot is use RT: 3.8.9

best regrards john
View this message in context: http://old.nabble.com/Can't-Change-logo-tp31340412p31342263.html

In addition to the new config settings to display a logo, we have to use
the attached style sheet patch for it to actually work for us. This was
also reported in this ticket:

http://issues.bestpractical.com/Ticket/Display.html?id=14882

From your message below, it looks like you still have "display: none;"
in your style sheet.

Is these Patch only Recommend for rt 3.8.8 or also for 3.8.9

The patch was made against 3.8.8 but applies cleanly to 3.8.9.

smime.p7s (3.97 KB)

Okay i tried to patch the file with the following command :

sudo patch < rt-3.8.8-web2-style-sheet-logo.patch

it comes an error: Hunk #1 FAILED at 171.

so what’s wrong?

best regards john s.

View this message in context: http://old.nabble.com/Can't-Change-logo-tp31340412p31342690.html

Okay i tried to patch the file with the following command :

sudo patch< rt-3.8.8-web2-style-sheet-logo.patch

it comes an error:  Hunk #1 FAILED at 171.

so what’s wrong?

Don’t know. If you are trying to apply it to the file that you already
manually edited then it will probably fail. It works for me since I
used it in my rt rpm spec file for 3.8.9 & 3.8.9. The patch only
changes a few lines so you can try to manually edit the file.

smime.p7s (3.97 KB)

Okay i tried to patch the file with the following command :

sudo patch< rt-3.8.8-web2-style-sheet-logo.patch

I bet you need to specify -p1 to the patch command. The full output of
the patch command would also be useful here since you just included the
error not the file it was trying to patch.

Thomas

Okay i tried to modify the file manually it’s look like this:

body {

padding:0;
margin:0;

background: #547CCC

url(<%RT->Config->Get(‘WebPath’)%>/NoAuth/css/web2/images/background-gradient.png)
top left repeat-x ;
font-family: arial, helvetica, sans-serif;

color: #000000;

}

div#body {
position: relative;
padding: 1em;
padding-top: 1.8em;
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;
margin-left: 10.5em;
margin-top: 5.2em;
margin-right: 1em;
margin-bottom: 0em;
min-height: 10%;
background: #fff;
border-top: 2px solid #ccc;
border-left: 2px solid #ccc;
z-index:1;

}

#topactions {
position: absolute;
background: transparent;
top: 3.8em;
right: 1em;
width: auto;
min-width: 42em;
font-size: 0.9em;
z-index: 99;
}

#topactions form * {
vertical-align: top;
}

#topactions button, #topactions select, #topactions input{
padding-top: 0em;
padding-bottom: 0em;
width: 8em;

}

#topactions form {
display: block;

}

#topactions #CreateTicketInQueue {
text-align: right;

}
#topactions #simple-search {
float: right;
}

#topactions #simple-search .field{
margin-left: 1em;
color: #787;
}

#topactions #simple-search .field:focus {
color: #000;
}

#topactions #GotoTicket {
text-align: right;

}

div#footer {
position: absolute;
right: 0;
text-align: right;
font-size: 0.9em;
margin-top: 2em;
background: #fff;
margin-bottom: 0;
padding-left: 3em;
padding-right: 1em;

border-top: 2px solid #aaa;
border-left: 2px solid #aaa;

-moz-border-radius-topleft: 0.5em;
-webkit-border-top-left-radius: 0.5em;
-moz-border-radius-bottomleft: 0.5em;
-webkit-border-bottom-left-radius: 0.5em;
}

div#footer #time {
display: none ;
}

div#footer #bpscredits {
text-align: right;
background: url(<%RT->Config->Get(‘WebPath’)%>/NoAuth/images//bplogo.gif)
no-repeat top right;
padding-top: 4em;
}

/* logo stuff */

@@ -171,12 +171,11 @@

div#logo a {

  • display: none;
    
    position: absolute;
  • left: 0;
  • bottom: 0;
    }
    div#logo a img {
  • z-index: 100;
  • position: absolute;
    border: 0;
    }
    div#logo .rtname {

:
div#logo {
}

#div#logo a {

display: none;

position: absolute;

left: 0;

#bottom: 0;

#}
#div#logo a img {

border: 0;

}
#div#logo .rtname {

position: absolute;

font-weight: bold;

top: 1em;

#left: 1em;

#}

div#quickbar, div#logo {
font-size: 0.9em;
}
div#quickbar a, div#logo a {
color: #000;
}

div#quickbar {
background: #eaeaea;
padding-top: 1em;
padding-left: 1em;
padding-bottom: 0.5em;
height: 1em;
border-bottom: 1px solid #ccc;

}
div#quick-personal {
float: right;
margin-right: 1em;
}

div#header h1 {
position: absolute;
left: 7.25em;
right: 20em;
overflow: hidden;
height: 1em;
font-size: 1.4em;
margin-top: 0.4em;
padding: 0.25em;
color: #fff;
}

/* in multi-column layouts, make sure we have an internal gutter */

tr .boxcontainer {
padding-right: 1em;
}

tr .boxcontainer:last-child {
padding-right: 0;
}

And here is my RT-Config:

#Set( $rtname, ‘example.com’);
#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
Set( @Plugins, qw(RT::Authen::ExternalAuth));
1;
Set( %GnuPG, Enable => 0);
Set($rtname , “rtabatest”);

Set($Organization , “rt-sbah.local.com”);

$user_passwd_min defines the minimum length for user passwords. Setting

it to 0 disables this check

$Timezone is used to convert times entered by users into GMT and back

again

It should be set to a timezone recognized by your local unix box.

#TIMEZONE . takes the timezone from linux installation.
my $zone = “UTC”;
$zone=’/bin/cat /etc/timezone’
if -f “/etc/timezone”;
chomp $zone;
Set($Timezone, $zone);
Set($WebPath , ‘/rt’);
Set($WebBaseURL , “https://rt-sba.local”);
Set( @Plugins, qw(RT::Authen::ExternalAuth) );

Set($LogToFileNamed , “rt.log”);
Set($LogToFile, ‘debug’);

#######Logo ###########

Set($LogoURL, $WebImagesURL . “SBA.gif”);
Set($LogoLinkURL, ‘http://rt-sba.local/rt’);
Set($LogoAltText, “SBA”);
Set($LogoImageWidth, 100);
Set($LogoImageHeight, 100);
Set($LogoImageURL, $WebImagesURL . “SBA.gif”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”); # need this for below

sth is wrong but i have no clue what and how

best regards john s.
View this message in context: http://old.nabble.com/Can't-Change-logo-tp31340412p31387272.html