[TYPO3] GIFBUILDER not fetching title field (blank)

Peter Klein peter at umloud.dk
Tue Apr 4 10:29:42 CEST 2006


Hi Neil. Try:

text.data = page:title

If that doesn't work, try:

text.data = pages:title

(I can't remember if it's page or pages)

You need to use "data" as "field" refers to the fields in the TV object..

---
Peter Klein / Umloud Untd.


"Neil Bertram" <neil at nospam.tasmanstudios.co.nz> wrote in message 
news:mailman.1.1144117680.12201.typo3-english at lists.netfielders.de...
> Hi!
>
> I'm trying to build a GIF of the page title using GIFBUILDER, mapped as a 
> TypoScript library in the TemplaVoila template. The code (in the site 
> typoscript setup template) is:
>
> lib.pagetitle = IMAGE
> lib.pagetitle {
> altText.field = title
> params = id="titleImage"
> file = GIFBUILDER
> file {
> XY = 300,20
> backColor = #E7E7E7
> offset = 0,15
> 10 = TEXT
> 10 {
> text.field = title
> fontColor = #565656
> fontSize = 18
> fontFile = fileadmin/templates/fonts/SSWR.TTF
> antiAlias = 1
> }
> }
> }
>
> The image is rendering, but it's blank. The alt text is correctly set to 
> the page title, but the text on the gif is blank. If I set text = foo, 
> then it renders "foo" fine.
>
> Any ideas? Is this templavoila related?
>
>
> Thanks!
>
> Neil 





More information about the TYPO3-english mailing list