[TYPO3] wraping TMENUITEM linktext

Christopher bedlamhotel at gmail.com
Tue Jul 25 21:39:13 CEST 2006


Hi,

On 7/25/06, Nagita Karunaratne <nagita.k at gmail.com> wrote:
> Is there a TMENUITEM parameter that will wrap the actual link text only if
> it has a submenu?
>
> I see 'stdWrap' but I haven't found how to use it correctly.
>
> I am trying to create the html structure for a css drop down menu.

Just an ordinary nested list?

lib.menuStructure = HMENU
lib.menuStructure {
  1 = TMENU
  1 {
    wrap = <ul id="navigation">|</ul>
    noBlur = 1

    NO {
      wrapItemAndSub = <li>|</li>
    }
  }

  2 < .1
  2.wrap = <ul>|</ul>

  3 < .2

  4 < .2
}

Millions of examples out there these days...

If this isn't what you're after, check out the IFSUB property of TMENU
in the TSref.

-Christopher



More information about the TYPO3-english mailing list