Tags:
create new tag
view all tags

Question

I'm using pattern skin, and I can get the Jump and Search boxes to go away by changing TWiki/WebTopBar, but I only need to hide them for one web, not for all of my webs. So, changing at TWiki doesn't help me at all. I'm going to make some alterations to the skin this web anyway, so if there's something I change at that level, it would be very helpful. I've created Public/WebTopBar, but I need to alter the templates to make it call that, and I'm not sure how.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version: 5.8.3
Client OS:  
Web Browser: Mozilla
Categories: Skin

-- CorrinneFahl - 26 Mar 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.

Try this approach:

  • Create a site level setting called HIDE_SEARCH_BOXES in Main.TWikiPreferences with an empty value.
  • In the web(s) where you want to hide the search boxes, add a * Set HIDE_SEARCH_BOXES = on setting to the WebPreferences.
  • In TWiki.WebTopBar, use some conditional text based on %IF{}% to hide the search boxes based on the HIDE_SEARCH_BOXES setting.

-- PeterThoeny - 26 Mar 2007

What I ended up doing was creating my own skin (PatternSkin with a few changes) for publishing to the website. I created TWiki/PublishTopBar, and changed viewtopbar.publish.tmpl to include {"TWiki06x01.PublishTopBar"}.

Thank you for the help!

-- CorrinneFahl - 27 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-03-27 - CorrinneFahl
 
  • 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.