Cleanly customize with images

So in upgrading to 3.8, I noticed that our logo disappeared. I knew that I
had been following best practices (or at least trying to) by using my
$RTHOME/local directory to change elements, etc. but the images seem to be
stored and served out of share instead of local. I found two old threads:

http://lists.bestpractical.com/pipermail/rt-users/2002-March/007465.html
http://lists.bestpractical.com/pipermail/rt-users/2007-July/047160.html

Both of which didn¹t have any responses, so I thought maybe I¹d try to see
if anything has changed in the RT way to handle this.

The wiki has a method to change your logo which works quite well:
http://wiki.bestpractical.com/view/ChangeLogo

But the first thing to do is to copy your image into
share/html/NoAuth/images/ which seems to be contrary to CleanlyCustomizeRT
practices.

Is the best option to simply set a $LocalWebImagesURL configuration variable
to use in the place of $WebImagesURL? To hard code it? To put images in
share? Create a symlink between /share/html/NoAuth and /local/html/NoAuth?
None of the above?

Thanks for any ideas or your best practices.

_Erik

Erik Peterson
Education Development Center, Inc.
http://www.edc.org/

The logo element is set to not display in the CSS. I’d tried enabling
it, but with 3.8 it breaks the visual layout pretty badly, so we decided
to leave it be.

Cheers,

-mh.

So in upgrading to 3.8, I noticed that our logo disappeared. I knew
that I had been following best practices (or at least trying to) by
using my $RTHOME/local directory to change elements, etc. but the
images seem to be stored and served out of share instead of local. I
found two old threads:

Erik,

You have to put your logo in the "local" version of the share directory 

as well as set up your configuation to point the right stuff. See below:

Set($WebBaseURL, “https://(your URL)”);
Set($WebImagesURL , $WebPath . “/NoAuth/images/”); # need this for below
Set($LogoURL, $WebImagesURL . “XXX_logo.gif”);
Set($LogoLinkURL, ‘http://(your URL Link)’);
Set($LogoImageURL, $WebImagesURL . “XXX_logo.gif”);
Set($LogoAltText, “Your Company Name”);

I hope this helps.

Kenn
LBNLOn 8/6/2008 10:57 AM, Peterson, Erik wrote:

So in upgrading to 3.8, I noticed that our logo disappeared. I knew
that I had been following best practices (or at least trying to) by
using my $RTHOME/local directory to change elements, etc. but the
images seem to be stored and served out of share instead of local. I
found two old threads:

http://lists.bestpractical.com/pipermail/rt-users/2002-March/007465.html
http://lists.bestpractical.com/pipermail/rt-users/2007-July/047160.html

Both of which didn�t have any responses, so I thought maybe I�d try to
see if anything has changed in the RT way to handle this.

The wiki has a method to change your logo which works quite well:
http://wiki.bestpractical.com/view/ChangeLogo

But the first thing to do is to copy your image into
share/html/NoAuth/images/ which seems to be contrary to
CleanlyCustomizeRT practices.

Is the best option to simply set a $LocalWebImagesURL configuration
variable to use in the place of $WebImagesURL? To hard code it? To put
images in share? Create a symlink between /share/html/NoAuth and
/local/html/NoAuth? None of the above?

Thanks for any ideas or your best practices.

_Erik


Erik Peterson
Education Development Center, Inc.
http://www.edc.org/



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