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"}%]]
the
%web%
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:
http://foswiki.org/Extensions/FlexWebListExamples#Marking_a_selection
However, I have an issue with indentation. I will open separate question for that.
--
MateuszKDzior - 06 Oct 2015