[TYPO3-english] escape character in TypoScript

Jigal van Hemert jigal at xs4all.nl
Sat Sep 4 08:27:12 CEST 2010


Hi,

On 3-9-2010 23:12, Fernando Arconada wrote:
> This slice of TypoScript doesnt work cause of the replacement of the '{'
> with the insertData, how can avoid it? any idea?
> 30 = TEXT
> 30.value (
> 	<style>
> 	#map {
> 	  width: 100%;
> 	  height: {field:height}px;
> 	  border: 1px solid #000;
> 	}
> 	</style>
> )
> 30.insertData = 1

Some tests reveal that the problem is the { } pair which holds the CSS 
definition for #map. Please report a bug for this at bugs.typo3.org

A workaround is:

30 = TEXT
30.field = height
30.wrap (
	<style>
	#map {
	  width: 100%;
	  height: |px;
	  border: 1px solid #000;
	}
	</style>
)


-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-english mailing list