[TYPO3] external link in menu, typoscript and typolink.

Andrew Plank plankmeister.n0sp4m at hotmail.com
Thu Jun 26 21:24:22 CEST 2008


Christopher Torgalson wrote:

> lib.extUrl = HMENU
> lib.extUrl {
> 	1 = TMENU
> 	1 {
> 		expAll = 1
> 		noBlur = 1
> 		wrap = <ul>|</ul>
> 		
> 		NO {
> 			stdWrap.cObject = CASE
> 			stdWrap.cObject {
> 				key.field = doktype
> 				default = TEXT
> 				default {
> 					field = title
> 					typolink {
> 						parameter.data = field:uid
> 					}
> 				}
> 	
> 				3 < .default
> 				3 {
> 					stdWrap.htmlSpecialChars = 1
> 					typolink {
> 						parameter {
> 							data >
> 							dataWrap = http://{field:url}
> 						}
> 					}
> 				}
> 			}
> 			doNotLinkIt = 1
> 			wrapItemAndSub = <li>|</li>
> 		}
> 	}
> }
> 
> 

When I grow up, I want to be a TS expert just like you :D

Thanks, Christopher. You are a genius! It worked 100% perfectly :D

//Plankmeister


More information about the TYPO3-english mailing list