[Typo3] optionSplit and menu

Alex Lopez alex.lopezt at gmail.com
Mon Jun 27 18:05:55 CEST 2005


Purrrrfect :-)

I have a serious problem understanding the typo3 documentation... I
think I haven't understood the wrap concept here...

I don't want to disturb, but, then, what is the difference with allWrap??

Thanks for all,

Àlex

2005/6/27, Kraft Bernhard <kraftb at gmx.net>:
> >>"wrap"'s get used for such stuff. OptionSplit is for different things:
> >>
> >>temp.menu_1.2 = TMENU
> >>tmep.menu_1.2 {
> >>   wrap = <div class="section" id="section"> | </div>
> >>   NO.allWrap = |
> >>   NO.ATagParams = class="item2"
> >>}
> >>
> >>TSRef page 116:
> >>"wrap: Wraps only if there were items in the menu"
> >>
> >
> >
> > Yes, but then, each menu will be in a div, and I want all menus in
> > only a div...
> 
> What do you mean by "each menu will be in a div" ?
> Do you probably mean "menupoint" when you write "menu" ? Because that is wrong.
> 
> the wrap property of TMENU wraps the whole menu (all items)
> 
> so it will generate:
> 
> <a href="index.php?id=1" class="item1">Level 2 Page A</a>
> <div class="section" id="section">
>        <a href="index.php?id=11>Level 3 Page A</a>
>        <a href="index.php?id=12>Level 3 Page B</a>
>        <a href="index.php?id=13>Level 3 Page C</a>
> </div>
> <a href="index.php?id=2" class="item1">Level 2 Page B</a>
> <a href="index.php?id=3" class="item1">Level 2 Page C</a>
> <a href="index.php?id=4" class="item1">Level 2 Page D</a>
> 
> 
> greets,
> Bernhard
> --
> Kraft Bernhard
> MOKKA Medienagentur <http://www.mokka.at>
> T: +43 - 1 - 895 33 33 - 50
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list