Feature #15194
closedDeliver a better default sitemap
0%
Description
If you insert a contentelement Menu/Sitemap (Menu Type: Sitemap) the FE-Output will look like the following:
<font size="1" face="verdana">
<a href="index.php?id=1">Page 1 (Level 1)</a><br />
<a href="index.php?id=2">Page 2 (Level 1)</a><br />
<a href="index.php?id=3" >Page 1 (Level 2)</a><br />
<a href="index.php?id=4" >Page 2 (Level 2)</a><br />
<a href="index.php?id=5" >Page 1 (Level 3)</a><br />
<a href="index.php?id=6" >Page 2 (Level 3)</a><br />
</font>
etc...
a better solution would be a nested list:
<ul>
<li><a href="index.php?id=1">Page 1 (Level 1)</a></li>
<li><a href="index.php?id=2">Page 2 (Level 1)</a>
<ul>
<li><a href="index.php?id=3">Page 1 (Level 2)</a></li>
<li><a href="index.php?id=4">Page 2 (Level 2)</a>
<ul>
<li><a href="index.php?id=5">Page 1 (Level 3)</a></li>
<li><a href="index.php?id=6">Page 2 (Level 3)</a></li>
</ul>
</li>
</ul>
</li>
</ul>
validates with http://validator.w3.org/
TS:
tt_content.menu.20.2 >
tt_content.menu.20.2 = HMENU
tt_content.menu.20.2.1 = TMENU
tt_content.menu.20.2.1 {
expAll = 1
wrap = <ul>|</ul>
NO.wrapItemAndSub = <li>|</li>
NO.stdWrap.htmlSpecialChars = 1
}
tt_content.menu.20.2.2 < tt_content.menu.20.2.1
tt_content.menu.20.2.3 < tt_content.menu.20.2.1
tt_content.menu.20.2.4 < tt_content.menu.20.2.1
(issue imported from #M1826)
Files