Re: [rt-users] Custom logo in 3.8

2009-12-14 Thread Jason A. Smith
Hi David,

It works for us in 3.8.6/7.  We are currently using a slightly modified
version of the patch mentioned in the Wiki, which we also tried to
report to the developers:

http://rt3.fsck.com/Ticket/Display.html?id=13964user=guestpass=guest

but I guess they had trouble getting the web2 style sheet to display
things correctly.  The logo we are using is very close to the size of
the original Best Practical logo, at 177x30 pixels.

~Jason


On Mon, 2009-12-14 at 11:21 -0800, David Griffith wrote:
 I'm trying to change the logo in 3.8.6, but 
 http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling 
 around for the answer gives me multiple references to the instructions on 
 that page not working.  Would someone please point out a guide for adding 
 a custom logo to 3.8.6 that actually works?

-- 
/--\
|  Jason A. Smith  Email:  smit...@bnl.gov |
|  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.   |
\--/



smime.p7s
Description: S/MIME cryptographic signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Re: [rt-users] Custom logo in 3.8

2009-12-14 Thread James Moseley
On Mon, Dec 14, 2009 at 1:21 PM, David Griffith dgri...@cs.csubak.edu wrote:

 I'm trying to change the logo in 3.8.6, but
 http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling
 around for the answer gives me multiple references to the instructions on
 that page not working.  Would someone please point out a guide for adding
 a custom logo to 3.8.6 that actually works?

I know this is documented somewhere...  Without looking at the wiki or
official docs, here's what works:

Create directory called 'Elements' in path to RT/local/html

Create file called 'Logo' in above directory with contents similar to:

  div id=logo
a href=http://yourdomain.com;img
src=%$RT::WebImagesURL%/yourlogo.jpg alt=%loc(Your
Company)%/a
% if ($show_name) {
div class=rtname% loc(RT for [_1], $RT::rtname) %/div
% }
  /div
%args
  $show_name = 1
/%args

Lastly, place logo jpeg (or whatever format it's in) in:

path to rt/share/html/NoAuth/images

-- 
James
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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


Re: [rt-users] Custom logo in 3.8

2009-12-14 Thread David Griffith

On Mon, 14 Dec 2009, James Moseley wrote:


On Mon, Dec 14, 2009 at 1:21 PM, David Griffith dgri...@cs.csubak.edu wrote:


I'm trying to change the logo in 3.8.6, but
http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling
around for the answer gives me multiple references to the instructions on
that page not working.  Would someone please point out a guide for adding
a custom logo to 3.8.6 that actually works?


I know this is documented somewhere...  Without looking at the wiki or
official docs, here's what works:

Create directory called 'Elements' in path to RT/local/html

Create file called 'Logo' in above directory with contents similar to:

 div id=logo
   a href=http://yourdomain.com;img
src=%$RT::WebImagesURL%/yourlogo.jpg alt=%loc(Your
Company)%/a
% if ($show_name) {
   div class=rtname% loc(RT for [_1], $RT::rtname) %/div
% }
 /div
%args
 $show_name = 1
/%args

Lastly, place logo jpeg (or whatever format it's in) in:

path to rt/share/html/NoAuth/images


Okay, I have a logo displaying, but it's at the bottom.  I can't seem to 
get it to go along the top like it did in 3.6 without stomping on other 
parts of the page.  Do I need to monkey around with 
NoAuth/css/web2/layout.css some more?


More questions:

Shouldn't share/html/Elements/Logo contain more generic stuff like 
$LogoURL and such as is described for 3.6?


Is it safe to comment out the invocation of /Elements/Footer from 
share/html/autohandler?


--
David Griffith
dgri...@cs.csubak.edu

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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

Re: [rt-users] Custom logo in 3.8

2009-12-14 Thread Matthew Seaman

David Griffith wrote:
I'm trying to change the logo in 3.8.6, but 
http://wiki.bestpractical.com/view/ChangeLogo doesn't work.  Googling 
around for the answer gives me multiple references to the instructions on 
that page not working.  Would someone please point out a guide for adding 
a custom logo to 3.8.6 that actually works?


As I recall, the bit of HTML that would cause the logo to be displayed is
hidden using css settings under 3.8.x.  If you switch to one of the older
display styles it will appear.

Hmmm It's this chunk from .../html/NoAuth/css/web2/layout.css:

/* logo stuff */

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;
}

Take away the display: none and you should have a logo appear.  You should
do this using the 'Cleanly Customise' instructions from the wiki, plus see a
post I made to this list a few weeks ago about what you need to copy into your
local tree to make customised css work. 


However, a logo doesn't really have a good place to go in the 3.8.x screen
layout, which is probably why it was disabled in the first place.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


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