This question about Configuration: Answered

Mark current web in left bar

I would like to modify WebLeftBarWebsList, so that current web will be bolded/marked as a current web.

However, if I wrote:
[[MyWeb.WebHome][%IF{"'%WEB%'='MyWeb'" then="*<u>MyWeb</u>*" else="MyWeb"}%]]


will always store the same web string (in this case - System).

Is there any solution other than creating separate WebLeftBar for each web?

-- MateuszKDzior - 05 Oct 2015

Is it possible to do that through PatternSkinNavigation ?

-- MateuszKDzior - 05 Oct 2015

Try using BASEWEB instead of WEB? WEB picks up where a topic was included from BASEWEB is the web of the topic being viewed.

-- GeorgeClark - 05 Oct 2015

Great!!! This works. However, if I use sub-webs, will it be possible to get parent web?

-- MateuszKDzior - 05 Oct 2015

OK, this (marking current web or sub web in left bar) might be done through FlexWebList:

However, I have an issue with indentation. I will open separate question for that.

-- MateuszKDzior - 06 Oct 2015

QuestionForm edit

Subject Configuration
Version Foswiki 2.0.0
Status Answered
Related Topics
Topic revision: r5 - 06 Oct 2015, MateuszKDzior - This page was cached on 29 Sep 2017 - 07:34.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License