[TYPO3] Make graphical text wrap if too long

Roger Bunyan redgumweb at gmail.com
Sun Feb 11 22:56:13 CET 2007


I used this script to write a quote for each page
#--------------------------
#Page subheader - quote
#--------------------------


lib.quote = PHP_SCRIPT
lib.quote {
  file = media/scripts/postit.inc
  data.field = subtitle
  cols = 3
  textBox {
    chars = 56
    lineDist = 18
    tmplObjNumber = 100
    Valign = center
	maxLines = 5
  }

  images.1 = IMAGE
  images.1.file = GIFBUILDER
  images.1.file {
    XY = [5.w],[5.h]
    5 = IMAGE
    5.file = fileadmin/template/images/quote_bg_wide.gif
    100 = TEXT
    100.text = Testing
    100.offset = -5,60
    100.fontFile = fileadmin/template/timesbi.ttf
    100.fontSize = 16
   # 100.iterations=2
    #100.antiAlias = 1
    #100.niceText=1
    100.align=center
    100.fontColor = #ffffff

  }
images.1.atltext.field= subtitle
 images.1.titleText.field=subtitle

}


More information about the TYPO3-english mailing list