[TYPO3-english] Typoscript: override part of current?

Jigal van Hemert jigal at xs4all.nl
Wed Apr 1 00:35:13 CEST 2009


> Jigal van Hemert pisze:
>> In a piece of TS I set ....typolink.parameter.current = 1, but I want to
>> force parameter.extTarget = _blank.
>
> but this works ok
>
> page.100 = TEXT
> page.100 {
> value = aaa
> typolink.parameter = www.google.com
> typolink.extTarget = _blank

//db_field is retrieved earlier...
10 = TEXT
10.field = db_field
stdWrap.split {
	token.char = 10
	cObjNum = 1
	1 = TEXT
	1 {
		override = <img src="fileadmin/img.gif" />
		override.if.isTrue.current = 1   # only display image if there is a url!
		typolink {
			parameter.current = 1
			parameter.extTarget = _blank
		}
	}
}
...and here the extTarget won't work, even though all urls are external.
I've tried various combinations with and without override, stdWrap, in the
earlier override, etc.

Regards,

-- 
Jigal van Hemert.



More information about the TYPO3-english mailing list