[Typo3-german] Text w/image - vielleicht untergegangen

Dirk Förster df at netresearch.de
Mon Dec 5 15:03:08 CET 2005


bedee schrieb:
> Hi - sorry für den "spam", aber ich befürchte, dass mein post durch meine 
> eigene antwort verlorengegangen  ist.
> 
> ---------------
> ich möchte beim content text w/image (umfliessend) die optik wie bei 
> NO_WRAP, sodass die überschrift auf selber höhe wie das bild sthet:
> 
> |-----| überschrift
> |bild |  text text text
> |-----| text text text
> umfliessender text
> umfliessender text
> 
> statt:
> 
> überschrift
> |-----| texttext text
> |bild |  text text text
> |-----|  text text text
> umfliessender text
> umfliessender text
> 
> gibts vielleicht ein gutes tutorial auf das mich jemand verweisen kann?
> 
> mein TS (auszug):
> 
>   1.. page.10 = TEMPLATE
>   2.. page.10 {
>   3..
>   4..   template = FILE
>   5..   template.file = fileadmin/sj/main.html
>   6..   relPathPrefix = fileadmin/sj/
>   7..   workOnSubpart = document
>   8..
>   9..   subparts.maincontent = CONTENT
>   10..   subparts.maincontent{
>   11..                   table = tt_content
>   12..                   select.orderBy = sorting
>   13..                   select.where = colPos = 0
>   14..                   wrap = <div align="justify">|</div>
>   15..                                }
>   16.. }
> 
> ich verwende z.Z ausschliesslich content(default)
> besten dank
> martin 

Hallo Martin,


Du mußt in /typo3/sysext/css_styled_content/static/setup.txt

den Abschnitt "textpic" wie folgt ändern:

# *****************
# CType: textpic
# *****************
tt_content.textpic = COA
tt_content.textpic {
	#10 = COA
	#10.if.value = 25
	#10.if.isLessThan.field = imageorient
	#10.10 = < lib.stdheader

	20  = < tt_content.image.20
	20.text.10 = COA
	20.text.10 {
		if.value = 24
		if.isGreaterThan.field = imageorient
		10 = < lib.stdheader
		10.stdWrap.dataWrap = <div class="csc-textpicHeader 
csc-textpicHeader-{field:imageorient}">|</div>
	}
	20.text.20 = COA
	20.text.20 {
		if.value = 25
		if.isLessThan.field = imageorient
		10 = < lib.stdheader
	}
	20.text.30 = < tt_content.text.20
}


Gruß, Dirk



More information about the TYPO3-german mailing list