On Fri, May 1, 2009 at 11:52 AM, Asif Iqbal <vad...@gmail.com> wrote:
> On Fri, May 1, 2009 at 10:13 AM, <jmose...@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 >> >> > > 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 :-( > > >> >> >> Asif Iqbal <vad...@gmail.com> wrote: >> >> On Thu, Apr 30, 2009 at 5:22 PM, Asif Iqbal <vad...@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 >> >> 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 <div id="logo"> <a href="<%$RT::LogoLinkURL%>"><img src="<%$RT::LogoImageURL%>" alt="<% loc($RT::LogoAltText) %>" width="<%$RT::LogoWidth%>" height="<%$RT::LogoHeight%>" /></a> % if ( $ShowName ) { <span class="rtname"><% $Name || loc("RT for [_1]", RT->Config->Get('rtname')) %></span> % } </div> <%INIT> if ( exists $ARGS{'show_name'} ) { $RT::Logger->warning('show_name argument was renamed, use ShowName'); $ShowName = delete $ARGS{'show_name'}; } </%INIT> <%ARGS> $ShowName => 1 $Name => undef </%ARGS> (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?
_______________________________________________ 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