Project

General

Profile

Actions

Feature #15194

closed

Deliver a better default sitemap

Added by Anonymous about 19 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2005-11-10
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

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

sitemap_patch.txt (353 Bytes) sitemap_patch.txt Administrator Admin, 2005-11-10 13:03
Actions

Also available in: Atom PDF