xhtml compliant sitemap
Note that the expressions in brackets "{$styles.*}" need to be defined in the constants. In this case they come from the default inclusion of styles.content.default. (note that there are two parts:one goes in CONSTANTS, the other in SETUP - more on that here)
- styles.sitemap.text >
- styles.sitemap.text = HMENU
- styles.sitemap.text.stdWrap.wrap = <ul>|</ul>
- styles.sitemap.text {
- 1 = TMENU
- 1.NO.allWrap = <li>|</li>
- 1.NO.linkWrap = {$styles.sitemap.text.itemWrap}
- 1.NO.ATagBeforeWrap = 1
- 1.target = {$styles.sitemap.text.target}
- 1.expAll = 1
- 1.noBlur = 1
- 2 = TMENU
- 2.wrap=<ul>|</ul>
- 2.NO.wrapItemAndSub = <li>|</li>
- 2.NO.linkWrap = {$styles.sitemap.text.itemWrap}
- 2.NO.ATagBeforeWrap = 1
- 2.target = {$styles.sitemap.text.target}
- 2.expAll = 1
- 2.noBlur = 1
- 3 = TMENU
- 3.wrap=<ul>|</ul>
- 3.NO.wrapItemAndSub = <li>|</li>
- 3.NO.linkWrap = {$styles.sitemap.text.itemWrap}
- 3.NO.ATagBeforeWrap = 1
- 3.target = {$styles.sitemap.text.target}
- 3.expAll = 1
- 3.noBlur = 1
- 4 = TMENU
- 4.wrap=<ul>|</ul>
- 4.NO.wrapItemAndSub = <li>|</li>
- 4.NO.linkWrap = {$styles.sitemap.text.itemWrap}
- 4.NO.ATagBeforeWrap = 1
- 4.target = {$styles.sitemap.text.target}
- 4.expAll = 1
- 4.noBlur = 1
- 5 = TMENU
- 5.wrap=<ul>|</ul>
- 5.NO.wrapItemAndSub = <li>|</li>
- 5.NO.linkWrap = {$styles.sitemap.text.itemWrap}
- 5.NO.ATagBeforeWrap = 1
- 5.target = {$styles.sitemap.text.target}
- 5.expAll = 1
- 5.noBlur = 1
- 6.wrap=<ul>|</ul>
- 6.NO.wrapItemAndSub = <li>|</li>
- 6.NO.linkWrap = {$styles.sitemap.text.itemWrap}
- 6.NO.ATagBeforeWrap = 1
- 6.target = {$styles.sitemap.text.target}
- 6.expAll = 1
- 6.noBlur = 1
- }
- # re-import the menu above in styles content default
- # this line is especially important because otherwise it won't work
- tt_content.menu.20.2 < styles.sitemap.text
