[TYPO3-templavoila] Horizontalmenu, typoscript & templavoila

Daniel Doesburg daniel at typo3-nl.eu
Mon Apr 7 22:35:00 CEST 2008


Alix Justus schreef:
> No its not lib.myObject, to be shore i started from scratch again, and namde
> to lib.MainMenu and updateit too, and its n ot working.
> is there somethink wrong with typoscript?

Yes it is.

#Main Menu
  lib.MainMenu = HMENU
  lib.MainMenu.special = directory
  lib.MainMenu.special.value = 1
  lib.MainMenu = HMENU
  lib.MainMenu {
  expAll = 0
  NO.ATagTitle.field = title
  wrap = <ul id=invertedtabs ul>|</ul>
  NO.wrapItemAndSub = <li>|</li>
  ACT = 1
  ACT.wrapItemAndSub = <li>|</li>
  ACT.ATagTitle.field = title
}


should be

lib.MainMenu = HMENU
lib.MainMenu {
// I think those 2 special statements are not necessary.
	special = directory
	special.value = 1
	1 = TMENU
	1 {
		expAll = 0
  		wrap = <ul id=invertedtabs ul>|</ul>
		NO = 1
		NO.ATagTitle.field = title
		NO.wrapItemAndSub = <li>|</li>

		ACT < .NO
	}
	2 < .1
	3 < .2
}



Success.

Kind regards,

Daniel Doesburg


More information about the TYPO3-project-templavoila mailing list