[TYPO3] GIFBUILDER objects using other fields

JoH info at cybercraft.de
Tue May 9 23:09:19 CEST 2006


> I am trying to create a GIFBUILDER image using the header from a text
> object placed in the top position of the "normal" column.
>
> I just want to format the header of the object as an image, but I
> would like to have gifbuilder automatically use the header of the top
> text object on each page to generate an image.
>
> I found instructions on how to use the id of a specific object, but I
> just want to use the first one in the record.
>
> I know how to get titles (for example the typoscript: 10.text.field =
> title) but am lost on how to use text content from other objects on
> the page to create GIFBUILDER objects.

10.text.cObject = CONTENT
10.text.cObject {
  table = tt_content
  select {
    max = 1
    orderBy = sorting
  }
  renderObj = TEXT
  renderObj.field = header
}

should do the job.

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de





More information about the TYPO3-english mailing list