Joey, Thanks for your help, again(!) When you first posted this solution, I already implemented it. Like I said, it worked and it is still working. The real problem was that I used the wrong marker in my html files. And the result was that the menu was copied (so the output was 2 times the menu). Now I've used the right marker in my html files (the marker of the second menu) and it worked! Pffhew, I almost lost my enthusiasm because of this.
Yes, I'm a noob. But eventually it worked! :) Merci. > From: [email protected] > Date: Thu, 11 Mar 2010 13:32:05 +0100 > To: [email protected] > Subject: Re: [TYPO3-english] treeLevel = -1 > > Actually this is the complete solution: > > temp.defaultmenu = HMENU > temp.defaultmenu { > entryLevel = -1 > 1 = TMENU > 1 { > wrap = <ul>|</ul> > NO { > wrapItemAndSub = <li>|</li> > } > } > } > > temp.mymenu < temp.defaultmenu > temp.mymenu { > stdWrap.ifEmpty.cObject < temp.defaultmenu > stdWrap.ifEmpty.cObject.entryLevel = -2 > } > > now use temp.mymenu in your TS-Setup: > > page.10 < temp.mymenu > > or maybe > > marks.WHATEVER < temp.mymenu > > Within TV it might be necessary to use lib.defaultmenu and lib.mymenu > instead of temp. > > I just mentioned the numRows approach, since it would be another way to > check for subpages of the current page, but then again you would run into > problems with localized pages, since they are coming from a another table. > So HMENU is the way to go and you should do it the way I did it in the above > example. > > HTH > > Joey > > -- > Wenn man keine Ahnung hat: Einfach mal Fresse halten! > (If you have no clues: simply shut your gob sometimes!) > Dieter Nuhr, German comedian > Xing: http://contact.cybercraft.de > Twitter: http://twitter.com/bunnyfield > TYPO3 cookbook (2nd edition): http://www.typo3experts.com > > > _______________________________________________ > TYPO3-english mailing list > [email protected] > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english _________________________________________________________________ Het laatste nieuws, shownieuws en voetbalnieuws op MSN.nl http://nl.msn.com/ _______________________________________________ TYPO3-english mailing list [email protected] http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
