You are here: Foswiki>Tasks Web>Item747 (12 Dec 2017, GeorgeClark)Edit Attach

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

Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Engine
Component: PatternSkin
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
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 }%
%IF{"istopic 'WebLeftBar'" then="$percntINCLUDE{$quot%WEB%.WebLeftBar$quot}$percnt" else="$percntINCLUDE{$quot%WEB%.WebLeftBarExample$quot}$percnt"}%

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
   "%IF{"istopic '%USERSWEB%.YuiMenu'" then="%USERSWEB%.YuiMenu" else="%SYSTEMWEB%.YuiMenuContrib"}%"

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
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component PatternSkin
Priority Enhancement
CurrentState Confirmed
ReleasedIn n/a
Topic revision: r5 - 12 Dec 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy