[TYPO3-dev] postUserFunc on TEXT

Jerome Schneider j.schneider at ameos.com
Wed May 16 12:11:52 CEST 2007


Hello there,

Somebody knows how to make postUserFunc works in a TEXT object inside a 
GIFBUILDER ?

This code doesn't call postUserFunc inside the GIFBUILDER
    BUT
calls postUserFunc at page.10000

[code]

includeLibs.tstrix = fileadmin/tstrix.php

lib.titrepage = IMAGE
lib.titrepage{
	file = GIFBUILDER
	file{
		XY = 180,30
		maxWidth = 175
	    	backColor = #E5FA9B
	    	
	    	5 = IMAGE
	    	5.file = fileadmin/templates/v1/bg/bg_div.jpg
	    	10 = TEXT
	    	10{
	    		text.data = TSFE:page|title
	    		text.override.data = TSFE:page|subtitle
	    		fontSize = 18
			fontFile = fileadmin/templates/v1/font/ameos_carton.ttf
			fontColor = #7B4FA8
			offset = 5,25
			spacing = 1


			postUserFunc = user_tstrix_stripaccents
	    	}
	}
}

page.10000 = TEXT
page.10000 {
	text = héllo world
	postUserFunc = user_tstrix_stripaccents
}

[/code]


Thank you !
Jerome Schneider




More information about the TYPO3-dev mailing list