[TYPO3] TMENU with additionalParams

Bas van der Togt bas.vander.togt at efocus.nl
Fri Feb 15 16:48:00 CET 2008


OK i fixed it with this TS:
If somebody knows a better solution that's very welcome!

TS:
obj.nav = COA
obj.nav {
	10 = HMENU
	10 {
		entryLevel = 0
		special = list
		special.value = 4
		
		1 = TMENU
		1 {
			expAll = 1
			noBlur = 1
	
			NO {
				stdWrap.htmlSpecialChars = 1
				ATagTitle.field = subtitle // title
				wrapItemAndSub = <li>|</li>
			}
		}
	
		2 = TMENU
		2 {
			wrap = <ul>|
			expAll = 1
			noBlur = 1
	  	
			NO {
				stdWrap.htmlSpecialChars = 1
				ATagTitle.field = subtitle // title
				wrapItemAndSub = <li>|</li>
			}
		}
	}
	
	15 = TEXT
	15 {
		typolink.parameter = 66 1000x600
		typolink.additionalParams = &type=101
		typolink.JSwindow_params = 
status=0,menubar=0,scrollbars=1,resizable=1,location=0,directories=0,toolbar=0
		wrap = <li>|</li></ul>
	}
	
	20 = HMENU
	20 {
		entryLevel = 0
		special = list
		special.value = 3,2,15,16,18,20
		#wrap = <ul>|</ul>
		
		1 = TMENU
		1 {
			expAll = 1
			noBlur = 1
	
			NO {
				stdWrap.htmlSpecialChars = 1
				ATagTitle.field = subtitle // title
				wrapItemAndSub = <li>|</li>
			}
		}
	
		2 = TMENU
		2 {
			wrap = <ul>|</ul>
			expAll = 1
			noBlur = 1
	  	
			NO {
				stdWrap.htmlSpecialChars = 1
				ATagTitle.field = subtitle // title
				wrapItemAndSub = <li>|</li>
			}
		}
	}
}

Bas van der Togt wrote:
> Hello list,
> 
> I have a TMENU:
> 
> link1
> link2
> link3
>     sublink1
>     sublink2
>     sublink3
> link4
> 
> Now i want to add an additionalParam to sublink2
> Does anybody know how to do this?
> 
> MY TS:
> obj.nav = HMENU
> obj.nav {
>     entryLevel = 0
>     special = list
>     special.value = 4,3,2,15,16,18,20
>     #wrap = <ul>|</ul>
>     
>     1 = TMENU
>     1 {
>         expAll = 1
>         noBlur = 1
> 
>         NO {
>             stdWrap.htmlSpecialChars = 1
>             ATagTitle.field = subtitle // title
>             wrapItemAndSub = <li>|</li>
>         }
>     }
> 
>     2 = TMENU
>     2 {
>         wrap = <ul>|</ul>
>         expAll = 1
>         noBlur = 1
>      
>         NO {
>             stdWrap.htmlSpecialChars = 1
>             ATagTitle.field = subtitle // title
>             wrapItemAndSub = <li>|</li>
>         }
>     }
> }
> 
> kind regards,
> Bas


More information about the TYPO3-english mailing list