[Typo3] TMENU level 1 noLink=1

Timothy Fletcher zigomushy at ntlworld.com
Mon May 2 11:39:29 CEST 2005


Hi folks,

I'm trying to make a menu with the following typoscript:

-----CUT-----

  # First level menu-object, textual

lib.menu_1.1 = TMENU

lib.menu_1.1 {

    expAll = 1
    noLink = 0
    NO.linkWrap = <h1> | </h1>

    NO.stdWrap.htmlSpecialChars = 1

 

}


lib.menu_1.2 = TMENU

lib.menu_1.2 {
    wrap = <img border="0" 
src="fileadmin/templates/avatea2/images/clgbox_top.gif" width="171" 
height="5"> | <img border="0" 
src="fileadmin/templates/avatea2/images/clgbox_bottom.gif" width="171" 
height="14">
    # Normal state properties

  NO.allWrap =  |
  NO.linkWrap = <h2><img border="0" 
src="fileadmin/templates/avatea2/images/clg_puce.gif"width="12" 
height="8"> | </h2>
  NO.stdWrap.htmlSpecialChars = 1


}


-----CUT-----


what i'm trying to do is have the first level (menu_1.1) have a text but 
n link (so that you can only click on a link in menu_1.2)

in other words, sometyhing like this :

MenuItem1
    _subItem1_
    _subItem2_
    _subItem3_
MenuItem2
    _subItem1_
    _subItem2_
    _subItem3_




Thanks for your time.

-Tim




More information about the TYPO3-english mailing list