Tags:
create new tag
view all tags

Question

How do I override the WebLeftBar topic with my own?

I can create a personal sidebar. And TWiki/PatternSkinCustomization provides ways to hide the left bar. But how do I override it completely with my on choices?

Environment

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

-- VickiBrown - 19 Mar 2008

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.

A co-worker asked this and I worked it out. Now I can use my favorite web's look and feel across our entire site.

This works with Pattern Skin

Step 1

Create your web left bar definition. For this example, the page is named Myweb.MyWebLeftBar.

Refer to WebLeftBar or ModifyingWebLeftBar for ideas.

Step 2

Create a View override template, e.g. Myweb.MyViewTemplate, overriding the definition of webleftbar with your topic.

%TMPL:INCLUDE{"view"}%

%TMPL:DEF{"webleftbar"}%
%INCLUDE{"Myweb.MyWebLeftBar"}%%TMPL:END%

Step 3

Set the VIEW_TEMPLATE variable in your home topic to use your view template instead of the default.

   Set VIEW_TEMPLATE = Myweb.MyViewTemplate

-- VickiBrown - 19 Mar 2008

Should be:

   * Set VIEW_TEMPLATE = Myweb.MyView

-- TimothyBourke - 2011-05-03

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-05-03 - PeterThoeny
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.