---
title: "unterschiedliche Headlines mit Gifbuilder pro Spalte"
url: "https://www.typo3.net/d/101007-unterschiedliche-headlines-mit-gifbuilder-pro-spalte"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2010-09-02"
last_reply: "2010-09-19"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# unterschiedliche Headlines mit Gifbuilder pro Spalte

TYPO3 › TypoScript · 1 Antwort · gestartet 2010-09-02

## Eröffnungsbeitrag

**marekdb** · 2010-09-02 · [Beitrag #1](https://www.typo3.net/d/101007-unterschiedliche-headlines-mit-gifbuilder-pro-spalte/1)

Hallo zusammen,

habe ein Problem:
In einem Projekt pflege ich die linke und die rechte Spalte und möchte diese mit unterschiedlichen grafischen Headlines versehen, jedoch wird für beide Spalten das TS der rechten Spalte verwendet, ich weiß aber nicht warum.

hier das TS:

```typoscript
  temp.stdheader < lib.stdheader
  temp.stdheader.stdWrap.dataWrap >
  tmp.stdheader >
  tmp.stdheader = CASE
  tmp.stdheader {
    stdWrap {
      space = 0|0
      dataWrap >
    }
    
    key.field=colPos
    1 < temp.stdheader
    2 < temp.stdheader
    3 < temp.stdheader
    default < temp.stdheader
 
    
    1.10 {
      #headerClass >
      1 = IMG_RESOURCE
      1 {
        file = GIFBUILDER
        file {
          format = gif
          XY = [10.w]+20,[10.h]+10
          transparentBackground = 1
          transparentColor = #FF0000
          backColor = #FF0000
          10 = TEXT
          10{
            text.field = header
            #text.case = upper
            fontSize = {$fontSizeSmall}      
            fontFile = {$fontFileBold}
            fontColor = {$fontColor}
            offset = 0,18
           niceText = 1
           #iterations = 0
           antiAlias = 1
          }
        
        }
        stdWrap {
          prepend = TEXT
          prepend {
            dataWrap = <h2 class="rightCol" style=
          }      
          innerWrap.cObject = COA
          innerWrap.cObject {
            10 = TEXT
            10.value = "padding-left: 0; display: block; background:url(|) no-repeat; height: 30px
            20 = TEXT
            20.value = ; width: 250px; max-width: 250px;">
            30 = TEXT
            30.value = <span style="display: block; width: 1px; height: 1px; overflow: hidden;">
          }
          append = TEXT
          append {
            current = 1
            wrap = |</span></h2>
          }
        }
      }
    }
    2.10 {
      #headerClass >
      1 = IMG_RESOURCE
      1 {
        file = GIFBUILDER
        file {
          format = gif
          XY = [10.w]+20,[10.h]+10
          transparentBackground = 1
          transparentColor = #FF0000
          backColor = #DBDBDB
          10 = TEXT
          10{
            text.field = header
            #text.case = upper
            fontSize = {$fontSizeSmall}      
            fontFile = {$fontFileBold}
            fontColor = {$fontColor}
            offset = 0,18
           niceText = 1
           #iterations = 0
           antiAlias = 1
          }
        
        }
        stdWrap {
          prepend = TEXT
          prepend {
            dataWrap = <h2 class="rightCol" style=
          }      
          innerWrap.cObject = COA
          innerWrap.cObject {
            10 = TEXT
            10.value = "padding-left: 0; display: block; background:url(|) no-repeat; height: 30px
            20 = TEXT
            20.value = ; width: 250px; max-width: 250px;">
            30 = TEXT
            30.value = <span style="display: block; width: 1px; height: 1px; overflow: hidden;">
          }
          append = TEXT
          append {
            current = 1
            wrap = |</span></h2>
          }
        }
      }
    }
  }
```

## Antworten

### [#2](https://www.typo3.net/d/101007-unterschiedliche-headlines-mit-gifbuilder-pro-spalte/2) · udowald · 2010-09-19

Hallo,

du hast in den Zeilen 3-5 "tmp" statt "temp" stehen.
Dann solltest du in der key.field Zuweisung nicht jeder colPos das gleiche zuweisen. Das kann nicht gehen.

udowald

---

Quelle: „unterschiedliche Headlines mit Gifbuilder pro Spalte“, typo3.net, https://www.typo3.net/d/101007-unterschiedliche-headlines-mit-gifbuilder-pro-spalte
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
