Zum Inhalt springen

Zeilenumbruch nach Content-Elemente

Erstellt am 2. September 2004 · 1 Antwort · letzte Antwort am 2. September 2004

Tags: Inhaltselemente, Frage

theNeo ·

Hallo,
ich bin über am verzweifeln. Ich ersuche gerade meine erst Typo3 seite zu basteln. Von mambo auf Typo3 umzudenken ist schwerer als ich dachte 😢

Mein Problem:
nach jedem Content Element soll ein <p> (clear gif würde auch gehen) kommen, damit ich mehr abstand zwischen den verschiedenen Elementen habe?
ich nutze style_styled_content.
meine versuch war:
subparts.content < styles.content.get
subparts.content {
wrap = | hier soll ein <br> sein
}

aber dann kommt es nur nach dem letzten auf einer seite.
Hat jemand eine idee -> finde keine lösung????
danke

hier noch das ganze script

# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/kultzone/index.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/kultzone/
}
# Main TEMPLATE cObject for the BODY
##############################################
# Hauptmenue EBENE 1
##############################################
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = GMENU

temp.menu_1.1.NO { 
wrap = |<BR>
XY = [10.w]+20, 23
backColor = #B3B4B8 
#transparentColor.closest = 1 
10 = TEXT 
10.text.field = title 
10.fontFile = fileadmin/kultzone/TAHOMA.TTF
10.fontColor = #656565
10.fontSize = 13
10.iterations = 15
10.offset = 5, 17
10.niceText = 1
}
##############################################
# Hauptmenue EBENE 1 - ROLLOVER
##############################################

temp.menu_1.1. < temp.menu_1.1.NO
temp.menu_1.1.RO = 1 
temp.menu_1.1.RO { 
wrap = |<BR>
XY = [10.w]+20, 23
backColor = #B3B4B8
#transparentColor.closest = 1 
10 = TEXT 
10.text.field = title 
10.fontFile = fileadmin/kultzone/TAHOMA.TTF
10.fontColor = #666699
10.fontSize = 13
10.iterations = 5
10.offset = 5, 17
10.niceText = 1
}
##############################################
# Hauptmenue EBENE 1 - ACTIEV
##############################################
temp.menu_1.1. < temp.menu_1.1.NO
temp.menu_1.1.ACT = 1
temp.menu_1.1.ACT  {
wrap = |<BR>
XY = [10.w]+20, 25
backColor = #B3B4B8
#transparentColor.closest = 1 
10 = TEXT 
10.text.field = title 
10.fontFile = fileadmin/kultzone/TAHOMA.TTF
10.fontColor = #666699
10.fontSize = 13
10.iterations = 5
10.offset = 5, 17
10.niceText = 1
}

##############################################
# Hauptmenue EBENE 2
##############################################

temp.menu_1.2 = GMENU
temp.menu_1.2.NO {
wrap = |<BR>
XY = [10.w]+20, 18
backColor = #B3B4B8 
#transparentColor.closest = 1 
10 = TEXT 
10.text.field = title 
10.fontFile = fileadmin/kultzone/TAHOMA.TTF
10.fontColor = #656565
10.fontSize = 9
10.iterations = 15
10.offset = 15, 9
10.niceText = 1
}

ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
}

##############################################
# CONTENT
##############################################

temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1

# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY

# Substitute the ###menu_1### subpart with some example content:
subparts.menu_1 < temp.menu_1

# Substitute the ###content### subpart with some example content:
subparts.content < styles.content.get 
subparts.content {
wrap = | hier soll ein <br> sein
}

# Substitute the ###content_left### subpart with some example content:
subparts.content_left < styles.content.getLeft

# Substitute the ###content_right### subpart with some example content:
subparts.content_right < styles.content.getRight
}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {

# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}

# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
jenses ·

Benutz doch mal die Suche mit den Stichworten"content space".
Da wird auch für dich eine Lösung dabei sein 😉

viele Grüße
jenses