Zum Inhalt springen

CONTENT zu TEXT

Erstellt am 27. Februar 2006 · 4 Antworten · letzte Antwort am 28. Februar 2006

Tags: Frage

Unbekannter Benutzer ·

Hallo Leute,
Ich versuche schon ewig (ok, die letzten 2 Tage) ein CONTENT-Obj (styles.content.get) einem GIFBUILDER TEXT-Obj zuzuordnen.
Ich habe schon versucht es über

 subparts.FOOT = IMAGE
 subparts.FOOT {
  file = GIFBUILDER
  file {
   backColor = #000000
   XY = 1000,1000
   10 = TEXT
   10.text.cObject < styles.content.get
   10.fontFile = fileadmin/font.ttf
   10.fontColor = #FFFFFF
   10.fontSize = 8
   10.offset = 1, 1
  }
 }

das text.cObject versucht aber es kommt nur ein Quadratgwirr, schaut sich für mich nach einem Codierungsfehler aus.

Bild: you-jazz.de/…/098c8e33a9.png

Danke im Voraus

Lukas

theo · · Beste Antwort

Da diese Frage öfter kommt und ich schonmehrfach die Lösung gepostet habe, hier nur ein Beispiel:

tt_content.text = IMAGE
tt_content.text.file = GIFBUILDER
tt_content.text.file {
XY = [30.w]+5,[30.h]+5
30 = TEXT
30.text.field = bodytext
30.offset = 0,11
30.fontColor = #777777
30.fontFile = fileadmin/fonts/xxx.ttf
30.fontSize = 18
}
theo ·

[OT]
Zwischen meinem Posting und der Threadfrage stand eben noch ein weiterer Beitrag. Von einem Moderator. Und der ist nun (aus reiner Eitelkeit, nehme ich an) gelöscht.
Tja, manche sind eben gleicher als andere...
Deswegen werde ich in Zukunft wohl doch erstmal meinen Vorredner zitieren, bevor ich selber was schreibe.
[OT]

Unbekannter Benutzer ·

Hi Theo,
Wo muss ich jetzt subparts.FOOT einfügen???
so gehts nicht:

 tt_content.text = IMAGE
 tt_content.text {
  file = GIFBUILDER
  file {
   backColor = #000000
   XY = 100,100
   10 = TEXT
   10.text.field = bodytext
   10.fontFile = fileadmin/font.ttf
   10.fontColor = #FFFFFF
   10.fontSize = 12
   10.offset = 1, 1
  }
 }

subparts.FOOT < styles.content.get

Da wird der normale übergeben! oder muss ich content_tt mit styles.content.get ersetzen?
Danke
Lukas

Unbekannter Benutzer ·

Also dass geht auch nicht:

 subparts.FOOT = IMAGE
 subparts.FOOT {
  file = GIFBUILDER
  file {
   backColor = #000000
   XY = 100,100
   10 = TEXT
   10.text.field = bodytext
   10.fontFile = fileadmin/font.ttf
   10.fontColor = #FFFFFF
   10.fontSize = 12
   10.offset = 1, 1
  }
 }