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
--
VickiBrown - 19 Mar 2008
Answer
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