Zum Inhalt springen

SINGLE-Ansicht; Überschrift außerhalb

Erstellt am 20. August 2008 · 1 Antwort · letzte Antwort am 22. August 2008

Tags: Templates & Layouts, tt_news, Frage

Gunah ·

Moin

ich wollte mal fragen, ob für den Titel eine einfache möglichkeit gibt, Ihn außerhalb zu machen als meine verwendete:

habe ein Extra TPL gefertigt, wo nur der Titel Tag vorhanden ist... das sieht wie folgt aus...

#####################
#### tt_news TOP ####
#####################
lib.news < plugin.tt_news
lib.news {
	templateFile = fileadmin/schlueter/headline_tt_news.tmpl
	# Max Anzeige
	limit = 1
	# Welche Anzeige
	code >
	code = SINGLE
	displaySingle {
		title_stdWrap.cObject = IMAGE
		title_stdWrap.cObject.altText.field = title
		title_stdWrap.cObject.file = GIFBUILDER
		title_stdWrap.cObject.file {
			XY = [30.w]+50, 37
			format = jpeg
			30 = TEXT
			30.text.field = title
			30.offset = 36, 25
			30.fontFile = fileadmin/fonts/***-Plain.ttf
			30.fontSize = 20
			#30.niceText = 1 ##scheint in Typo3 4.2 nicht zu funktionieren
			30.fontColor = #FFFFFF
			30.quality = 12
			backColor = #54616e	
		}
		title_stdWrap.cObject.wrap = <h1 id="headline">|</h1>
	}
}
page.10.marks.HEADLINE < lib.news