This question about Configuration: Answered
Indent subwebs names using FlexWebListPlugin
As I mentioned in
Question1687 I have an issue with indentations in
WebLeftBarWebsList.
I used following code to generate list of webs:
%FLEXWEBLIST{
exclude="(Main|NewPeople|System|Trash).*"
format="$indent * <img src=\"%ICONURL{web-bg}%\" border=\"0\" alt=\"\" width=\"16\" height=\"16\" style=\"background-color:%$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\" /> [[$web.%HOMETOPIC%][$name]]$n"
markerformat="$indent * <img src=\"%ICONURL{web-bg}%\" border=\"0\" alt=\"\" width=\"16\" height=\"16\" style=\"background-color:%$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\" />
[[$web.%HOMETOPIC%][<span class=\"foswikiAlert\">$name</span>]]$n"
selection="%BASEWEB%"
}%
When I open this topic - subwebs are properly indentented.
However, webs displayed on left side-bar are not indented at all.
Why? How can I fix that?
When I use Weblist instead, sub-webs are indented in both - left side bar and when I view
WebLeftBarWebsList topic
%WEBLIST{" * <span style=\"white-space:nowrap\"><a href=\"%SCRIPTURLPATH{"view"}%/$name/%HOMETOPIC%\"><img src=\"%ICONURL{web-bg}%\" border=\"0\" alt=\"\" width=\"16\" height=\"16\" style=\"background-color:%$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\" /> <nop>$indentedname</a></span>"}%
--
MateuszKDzior - 06 Oct 2015
I fixed this by giving
<nop>:
%FLEXWEBLIST{
exclude="(Main|NewPeople|System|Trash).*"
format="$indent * <a href=\"%SCRIPTURLPATH{"view"}%/$web/%HOMETOPIC%\"><img src=\"%ICONURL{web-bg}%\" border=\"0\" alt=\"\" width=\"16\" height=\"16\" style=\"background-color:%$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\" />$indent <nop>$indent <nop>$name</a>$n"
markerformat="$indent * <a href=\"%SCRIPTURLPATH{"view"}%/$web/%HOMETOPIC%\"><img src=\"%ICONURL{web-bg}%\" border=\"0\" alt=\"\" width=\"16\" height=\"16\" style=\"background-color:%$markerVAR{\"WEBBGCOLOR\" web=$qname}$marker%\" />$indent <nop>$indent <nop><b>%RED%$name%ENDCOLOR%</b></a>$n"
selection="%BASEWEB%"
}%
--
MateuszKDzior - 07 Oct 2015