[Typo3] TMENU: how to show all subpages of a certain higher raning page

JoH info at cybercraft.de
Thu Feb 24 10:25:57 CET 2005


> temp.menu = HMENU
> temp.menu.1 = TMENU
> temp.menu.1 {
>    expAll = 1
>    NO {
>      allWrap = <div stlye="float: left; blabla;"> | </div>
>    }
>    wrapItemAndSub = 1
> }

This won't be working - it has to be:

temp.menu = HMENU
temp.menu.1 = TMENU
temp.menu.1 {
   expAll = 1
   NO {
        wrapItemAndSub = <div class="float:left; blabla;"> | </div>
   }
}

and to make it work with stylesheets instead of inline styles up to a number
of X different itemgroups:

temp.menu = HMENU
temp.menu.1 = TMENU
temp.menu.1 {
   expAll = 1
   NO {
        wrapItemAndSub = <div class="1"> | </div> || <div class="2">|</div>
|| <div class="3">|</div> || ... ||  <div class="X">|</div>
   }
}

Replace the 3 dots with the number of <div>-wraps you need where X is the
last number.
This is called optionSplit and can be found here:
http://typo3.org/documentation/document-library/doc_core_tsref/optionSplit-1/
At last you make all those <div>-wraps float with a stylesheet.

Joey





More information about the TYPO3-english mailing list