[TYPO3-german] News Modul Newstitel als Grafik

David Bender db at davidbender.de
Fri Nov 24 09:31:46 CET 2006


Hallo Tim,


>>> Jetzt soll auch im Newsmodul der Titel in der Firmenschrift als Grafik
>>> geparst werden. Wie bekomme ich das hin?


Versuch mal das hier in dein Setup einzubinden:


### LATEST news with graphical header
plugin.tt_news {
   displayLatest {
     title_stdWrap.cObject = IMAGE
     title_stdWrap.cObject.file = GIFBUILDER
     title_stdWrap.cObject.file {
       XY = [10.w]+2,20
	  backColor = #ffffff
	  transparentColor = #ffffff
	  10 = TEXT
       10.text.field = title
       10.fontSize = 16
       10.fontFile = fileadmin/bitnet-regular.ttf
       10.fontColor = #333333
       10.offset = 0,16
       10.niceText = 1
     }
   }
}

### SINGLE news with graphical header
plugin.tt_news {
   displaySingle {
     title_stdWrap.cObject = IMAGE
     title_stdWrap.cObject.file = GIFBUILDER
     title_stdWrap.cObject.file {
       XY = [10.w]+2,20
	backColor = #cccccc
	transparentColor = #cccccc
	transparentColor.closest = 1
	  10 = TEXT
       10.text.field = title
       10.fontSize = 16
       10.fontFile = fileadmin/bitnet-regular.ttf
       10.fontColor = #000000
       10.offset = 0,16
       10.niceText = 1
     }
   }
}


### LIST news with graphical header
plugin.tt_news {
   displayList {
     title_stdWrap.cObject = IMAGE
     title_stdWrap.cObject.file = GIFBUILDER
     title_stdWrap.cObject.file {
       XY = [10.w]+2,20
	backColor = #cccccc
	transparentColor = #cccccc
	transparentColor.closest = 1
	  10 = TEXT
       10.text.field = title
       10.fontSize = 16
       10.fontFile = fileadmin/regular.ttf
       10.fontColor = #000000
       10.offset = 0,16
       10.niceText = 1
     }
   }
}


### ARCHIVE news with graphical header
plugin.tt_news {
   displayArchive {
     title_stdWrap.cObject = IMAGE
     title_stdWrap.cObject.file = GIFBUILDER
     title_stdWrap.cObject.file {
       XY = [10.w]+2,20
	backColor = #cccccc
	transparentColor = #cccccc
	transparentColor.closest = 1
	  10 = TEXT
       10.text.field = title
       10.fontSize = 16
       10.fontFile = fileadmin/regular.ttf
       10.fontColor = #000000
       10.offset = 0,16
       10.niceText = 1
     }
   }
}

Grüße,
David



More information about the TYPO3-german mailing list