[TYPO3-dev] postUserFunc on TEXT

Popy popy.dev at gmail.com
Wed May 16 13:40:00 CEST 2007


text.data = TSFE:page|title
text.override.data = TSFE:page|subtitle
text.postUserFunc = user_tstrix_stripaccents

2007/5/16, Jerome Schneider <j.schneider at ameos.com>:
>
> 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
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>



-- 
Popy

Vulnerant omnes, ultima necat.

http://popy.sytes.net




More information about the TYPO3-dev mailing list