Zum Inhalt springen

Frage zu rgtabs - Grafischer Header

Erstellt am 23. Januar 2009 · Noch keine Antworten

Tags: Frage

Logic ·

Hallo zusammen!

Habe eine Frage zu der wunderbaren Extension rgtabs.

Die Anleitung von Georg beinhaltet auch die grafische Ausgabe für die Titel der Contentinhalte. Ich nutze die Extension allerdings für die Ausgabe von Unterseiten.

Wie muss ich das Script ändern, wenn ich die Titel der Seiten ausgeben möchte?

plugin.tx_rgtabs_pi1 {
title.cObject = RECORDS
title.cObject {
tables = tt_content
# this does the magic and holds the uid of the contentelement
source.field = tx_rgtabsTitle
dontCheckPid = 1
conf.tt_content = COA
conf.tt_content {
     10 = IMAGE
     10 {
        file = GIFBUILDER
        file {
          XY = [10.w]+5,26
          transparentColor = #f5f5f5
          backColor = #f5f5f5
          10 = TEXT
          10.text.field = header
          #10.text.crop= 15||1
          10.fontSize = 15
          10.offset = 0,20
          10.fontFile = fileadmin/fonts/LIBSA1.TTF
          10.fontColor = #587BA9
          # 10.niceText = 1
        }
      }
}
}

Vielen Dank und Gruß, Logic