Tags:
create new tag
view all tags

Question

I want to be able to click on a logo and have it take me to a website. I see in the top tool bar that this is done, but I can't figure out how it is working. Any assitance would be greatly appreciated.

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian 3.1
Web server:  
Perl version: 5.8.6
Client OS: Windows XP SR2
Web Browser: IE
Categories:  

-- DanielDowlin - 14 Dec 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

TWiki's top bar is built sing a configurable path to the image and URL:

  1. The actual variables which are used in the templates are WEBLOGOIMG, WEBLOGOURL, and WEBLOGOALT. For TWiki's default layout (defined in TWiki.PatternSkin), you can see the usage in TWiki.WebTopBar, or better in that topic's raw view.
  2. These values are initialized in TWiki.TWikiPreferences to the values of WIKILOGOIMG, WIKILOGOURL, and WIKILOGOALT, respectively.
So to apply individual per-web settings, define the WEB* values in the webs' WebPreferences topic. To change the site-wide default, override the WIKI* variables in Main.TWikiPreferences (Main.TWikiPreferences takes precedence over TWiki.TWikiPreferences and should always be used for site customization)

-- HaraldJoerg - 14 Dec 2007

Thank you. I looked at the WebTopBar topic, but I didn't think to check the raw view. I actually took what I got from the raw view and created a variable for it so I can use it all over the web. Thanks again.

-- DanielDowlin - 14 Dec 2007

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-12-14 - DanielDowlin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.