[TYPO3] GMENU and shortcuts

mark schoenbaechler typo3-english at lists.netfielders.de
Tue May 15 15:34:20 CEST 2007


Joey, 

Which code do you mean? I am actually using the code-snippet that you suggested. But I'll be glad to provide more code, if you tell me which...

Here is what I am using now:

lib.menu_2.1 {
    # Normal state properties
  
  NO.stdWrap.htmlSpecialChars = 1
  NO {
	allStdWrap {
		typolink {
			parameter {
				field = uid
				if {
					value = 4
					equals.field = doktype
					negate = 1
				}
			}
		}
		outerWrap.cObject = CASE
		outerWrap.cObject {
			key.field = doktype
			default = TEXT
			default.value = <div class="menuL1off"> | </div>
			4 = TEXT
			4.value = <div class="menuL1inactive"> | </div>
		}
	}
	
  	XY = 145, 20
	backColor = #ffffff
	10 = TEXT
	10.text.field = title
	10.text.crop = 25 | ... | 1
	10.fontColor = #333333
	10.fontFile = fileadmin/fonts/TheSansRegular.ttf
	10.fontSize = 12
	10.niceText = 1
	10.offset = 0, 16
      }

..


More information about the TYPO3-english mailing list