[TYPO3] Sitemap Starting Point Ignored
Nick Weisser
typo3 at openstream.ch
Tue Jan 24 00:22:53 CET 2006
Peter Russ wrote:
> Just check how it is rendered and extend the TS to your need ;-)
Thanks for your input and pointing me in the right direction, Peter.
It's really fantastic what can be achived by TypoScript alone :-)
I've created an extension TS template for my sitemap page in order to
overwrite the standard CSS styled content TS:
#overwrite standard CSS styled content TS setup
tt_content.menu.20 {
1.special = directory
1.wrap = <ul class="csc-sitemap">|</ul>
1 {
1 = TMENU
1.wrap = <ul class="csc-sitemap csc-sitemap-level1">|</ul>
1.NO.allWrap = <li>|</li>
1.NO.stdWrap.htmlSpecialChars = 1
1.target = {$content.pageFrameObj}
1.expAll = 1
2 < .1
2.wrap = <ul class="csc-sitemap csc-sitemap-level2">|</ul>
2.NO.allWrap = <li>|</li>
3 < .1
3.wrap = <ul class="csc-sitemap csc-sitemap-level3">|</ul>
3.NO.allWrap = <li>|</li>
4 < .1
4.wrap = <ul class="csc-sitemap csc-sitemap-level4">|<ul>
4.NO.allWrap = <li>|</li>
}
}
Cheers,
Nick
--
Openstream Internet Solutions
http://www.openstream.ch
More information about the TYPO3-english
mailing list