NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item747: how do i set a pattern web left bar for the entire site

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement New Engine PatternSkin  
it looks to me like I currently have to edit WebBarLeftExample? ? as
%{ Please note that there must be a new line before the include of the WebLeftBar. Other wise the first bullet will not be displayed as a bullet. See Foswiki task Item410 }%
%TMPL:DEF{"websidebar"}%%TMPL:P{"sidebar:webindicator"}%
%IF{"istopic 'WebLeftBar'" then="$percntINCLUDE{$quot%WEB%.WebLeftBar$quot}$percnt" else="$percntINCLUDE{$quot%WEB%.WebLeftBarExample$quot}$percnt"}%
%TMPL:END%

the viewsidebar tmpl file doesn't seem to have an option for an over-ride for a site-wide sidebar :/

In YuiMenuContrib, I use another layer of IF in the default topic
%STARTINCLUDE%
%INCLUDE{
   "%IF{"istopic '%USERSWEB%.YuiMenu'" then="%USERSWEB%.YuiMenu" else="%SYSTEMWEB%.YuiMenuContrib"}%"
   MENUWEB="%MENUWEB%"
   section="topmenu"
}%
%STOPINCLUDE% 

if we add the same construct to System's WebBarLeftExample? pointing to a non-shipped topic in the Main web, we can avoid forcing admins to edit in the SystemWeb? , or worse, to make and maintain identical copies of this topic in each web - mmm, as it is currently.

I think I'll create a viewsidebar.pattern_yuimenu.tmpl for now

-- SvenDowideit - 12 Jan 2009

The answer is obviously to add an INCLUDE in WebLeftBar

But what Sven really has is an enhancement request

So changing to Enhancement. And please not in 1.0.X releases.

-- KennethLavrsen - 25 Apr 2009

ItemTemplate edit

Summary how do i set a pattern web left bar for the entire site
ReportedBy SvenDowideit
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component PatternSkin
Priority Enhancement
CurrentState New
WaitingFor
Checkins
ReleasedIn n/a
Topic revision: r3 - 05 Feb 2011 - 14:03:53 - ArthurClemens
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads