[TYPO3-english] Passing TSFE info to GIFBUILDER

Enrique Moreno Tent enriquemorenotent at gmail.com
Mon Feb 28 11:13:10 CET 2011


Im trying to build some headers using the username from TSFE to GIFBUILDER,
but the code thats working for normal text doesnt seem to be working for
this:

#If the user is logged in...
[loginUser = *]

plugin.tx_bwpmodules_pi5.10.marks.REGBOXHEADER = IMAGE
plugin.tx_bwpmodules_pi5.10.marks.REGBOXHEADER{
    titleText.field = header
    altText.field = header
    file = GIFBUILDER
    file {
        XY = [10.w]+5,[10.h]+10
        backColor = #EAEAEA
        10 = TEXT
        10{
            text.data = TSFE:fe_user|user|name
            offset = -2,20
            align = center
            niceText = 1

            fontColor = black
            fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.ttf
            fontSize = 18
        }

        format = png
        backColor = white
        transparentBackground = 1
        transparentColor = white
        transparentColor.closest=1
    }
}

[end]

What can I do?


More information about the TYPO3-english mailing list