[TYPO3] HMENU/TMENU: no output

Edwin Blokker a.stoutjesdijk at chello.nl
Mon Jun 18 13:29:00 CEST 2007


Hi,

For rendering a horizontal menu I have put together this Typoscript:

# Hnav
lib.hnav = HMENU
lib.hnav {
10 = TMENU
10 {
wrap = <ul>|</ul>
# No
NO.ATagBeforeWrap = 1
NO.linkWrap = <span>|</span>
NO.allWrap = <li>|</li>
NO.stdWrap.htmlSpecialChars = 1
# Act
ACT = 1
ACT.ATagBeforeWrap = 1
ACT.linkWrap = <span>|</span>
ACT.allWrap = <li class="act">|</li>
ACT.htmlSpecialChars = 1
}
}

This should output a menu like this:

<ul>
<li><a href="#"><span>Link 1</span></a></li>
<li><a href="#"><span>Link 2</span></a></li>
<li><a href="#"><span>Link 3</span></a></li>
<li><a href="#"><span>Link 4</span></a></li>
</ul>

The problem is that in the FE it does not render at all, there is no 
output. My Typoscript must be faulty, but I can't figure out the 
errors.. Any help would be appreciated!

Thanks,
Edwin.


More information about the TYPO3-english mailing list