[Typo3] TS: Wrap each HMENU menu item differently
Boris Senker
typo3 at dvotocka.hr
Wed Sep 7 18:51:22 CEST 2005
Christopher wrote:
>
> This may or may not help, but I'm not sure what you want. the subject
> line says "Wrap each HMENU differently", but you say 'each item' and
> you seem to mean each menu item. If you DO mean each menu item, I have
> two solutions. If you don't, feel free to ignore me ;-)
Hi Christopher - yes, I meant wrap each menu item differently. Sorry for
the typo in message title.
> Two options:
>
> 1. optionSplit [1]: Try something like:
>
> NO.wrapItemAndSub = <div id="menu1">|</div> |*| <div
> id="menu2">|</div> |*| <div id="menu3">|</div>
>
> Disadvantage: this is not very dynamic :-)
No need for it to be dynamic - the menu in question consists of 5 fixed
items without sublevels - the second menu is more dynamic and subleveled.
> 2. Use some random db field:
>
> NO.stdWrap.dataWrap = <li id="{field:subtitle}Link">|
> NO.wrapItemAndSub = |</li>
>
>
> -Christopher
>
> [1] http://typo3.org/documentation/document-library/doc_core_tsref/optionSplit-1/
That's what I needed. I'll play around with both of the solutions, one
of them will surely fit.
Thanks A LOT, now I know where to look ;)
Boris Senker
: dvotocka design
________________________________________________________________
Graphic Design for Print and Web, Prepress, Website Production
J. Laurencica 8, 10000 Zagreb, Croatia
http://www.dvotocka.hr
More information about the TYPO3-english
mailing list