• Set NOWYSIWYG = 1

search formated without subwebs and some excluded webs:

Sub-Section Line:

%STARTSECTION{"webformatline"}%   * <span style="white-space:nowrap" >
            <a href="%WIKIHOMEURL%%thewebname%/%HOMETOPIC%">
               <img src="%ICONURL{web-bg}%" border="0" alt="" width="16" height="16" style="background-color:%VAR{"WEBBGCOLOR" web="%thewebname%"}%" /> <noautolink>%thewebname%</noautolink>
            </a>
         </span>%ENDSECTION{"webformatline"}%

Sub-Section Include:

%STARTSECTION{"webformatif"}%
%IF{"'%CALC{"$FIND(/, %theweb%)"}%'='0'" then=
"$percentINCLUDE{\"Sandbox.StefanKrüger.ExperimentsWebLeftBar\" section=\"webformatline\" thewebname=\"%theweb%\"}$percent"
}%%ENDSECTION{"webformatif"}%

Search itself:

%STARTSECTION{"mylist"}%
%SEARCH{
   search="%HOMETOPIC%"
   scope="topic"
   topic="%HOMETOPIC%"
   web="all -Main -System -Sandbox -Trash -Home -About -Extensions"
   nonoise="on"
   separator="<nop>"
   format="$percentINCLUDE{\"Sandbox.StefanKrüger.ExperimentsWebLeftBar\" section=\"webformatif\" theweb=\"$web\"}$percent"
}%%ENDSECTION{"mylist"}%

Usage/Result:

%INCLUDE{"Sandbox.StefanKrüger.ExperimentsWebLeftBar" section="mylist"}%

Warning: Can't find topic Sandbox/StefanKrüger.ExperimentsWebLeftBar

Bug in Web-Name rendering?:
Foswiki_WebLeftBarExperiment.png this bug was caused by the .... not working. now with reordering this to guard the word itself it works. -- StefanKrüger - 14 Nov 2016
Topic revision: r2 - 15 Nov 2016, StefanKrüger
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