![]() RT-3.2.2+ (and maybe earlier) contains the following in RT_Config.pm: $MasonLocalComponentRoot = '/usr/local/share/request-tracker3/html' $MasonComponentRoot = '/usr/share/request-tracker3/html' You can find the correct pathname by checking RT.pm and looking for these lines: Set($LogoAltText, "Best Practical Solutions, LLC corporate logo") Ĭopy the RT file share/html/Elements/Header into local/html/Elements/Header I had an error - unable to find %$RT::Loc or something anyway I had to change: (?) I also had to prepend $ WebBaseURL when setting $ LogoImageURL: For some reason, it wasn't able to use the definition from RT_Config.pm. I had to set $ WebImagesURL in my RT_SiteConfig.pm. I had to make a few small changes to get the above to work on my system ( CentOS 4.3, RT 3.6.0): The share/Elements/logo file does not exist for 3.4.x, so this will not work for versions before 3.6 Restart your webserver and enjoy a highly configurable logo.Copy RT_HOME/share/html/Elements/Logo to RT_HOME/local/html/Elements/Logo (you probably have to create that directory first) and replace the line.Set($LogoAltText, loc("Best Practical Solutions, LLC corporate logo")) Create these new configuration settings in your =, adjust to your liking:.This approach has the advantage of being more configurable and not getting messed up when upgrading your RT install as you override shared templates with a local/custom one. Your logo image file goes into the usual directory. This should work for 3.6.0rc1, and is much more configurable than just setting. I found width=125 and height 79 to be a nice size. Look for something like the below (+/- Line 52): If you would like you change the Logo display size: The following example will place your logo at the bottom right of every page: At about line 174 (on RT 3.8.3) you'll see:Ĭhange that to something suitable. Copy / NoAuth/css/web2/layout.css to your local directory. (from Kenneth Crocker on RT-Users Digest, Vol 53, Issue 4)Īdditionally, you'll need to edit the CSS layout to display the image. You have to put your logo in the "local" version of the share directory as well as set up your configuration to point the right stuff. RT 3.8.8's Logo component now supports more configuration. In RT 4 you can change the logo via the web by navigating to Configuration →Tools → Theme.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |