Hallo liebe Typo3-Freunde,
ich kenne mich zwar sehr gut mit HTML und auch PHP aus, arbeite aber erst seit kurzem mit Typo3 und habe deshalb einen noch nicht allzugroßen Überblick über dieses gigantische CMS. Hatte zuvor kleinere Projekte mit Contenido.
Nun aber zu meinem eigentlichem Problem, dass ich bereits seit Stunden von allein zu lösen versuche.
Ich habe ein Template erstellt und arbeite mit css_styled_content. Ich habe nun das Problem, dass wenn ich ein Seitenelement des Typs "Text mit Bild" anlege im Frontend kein Bild zu sehen ist. Der Text ist allerdings zu sehen, zwar auch noch nicht ganz so, wie ich mir das vorstelle, aber er ist.
Muss ich evtl. im Template noch etwas dazu einstellen? Ich konnte nach langer Recherche im Netz noch keine Lösung finden.
Hier mal das Setup-Feld meines Templates:
config.spamProtectEmailAddresses=1
config.spamProtectEmailAddresses_atSubst=(at)
# Konfiguration der mittleren Inhaltsspalte
temp.maincontent = CONTENT
temp.maincontent < styles.content.get
temp.maincontent {
table = tt_content
select {
pidInList = this
orderBy = sorting
where = colPos=0
languageField = sys_language_uid
}
renderObj = COA
renderObj.wrap = <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr height="30"><td background="fileadmin/templates/psv/images/table/border_lo.gif" width="10"></td> | </td></tr></table></td><td background="fileadmin/templates/psv/images/table/border_m.gif" width="10"></td></tr><tr height="10"><td background="fileadmin/templates/psv/images/table/border_lu.gif" width="10"></td><td background="fileadmin/templates/psv/images/table/border_mu.gif"></td><td background="fileadmin/templates/psv/images/table/border_ru.gif" width="10"></td></tr></table>
renderObj.10 = TEXT
renderObj.10 {
field = header
wrap = <td background="fileadmin/templates/psv/images/topics/topic.gif" style="background-repeat:no-repeat;"><span style="font-family:Trebuchet MS,sans-serif;font-size:18px;font-weight:bold;color:#d25a0a;margin-left:35px;vertical-align:middle;"> | </span></td><td background="fileadmin/templates/psv/images/table/border_ro.gif" width="10"></td></tr><tr><td background="fileadmin/templates/psv/images/table/border_m.gif" width="10"></td><td><table cellpadding="8" cellspacing="0" border="0"><tr><td>
}
renderObj.20 = TEXT
renderObj.20 {
field = bodytext
}
}
# Konfiguration der rechten Inhaltsspalte
temp.rightcontent = CONTENT
temp.rightcontent < styles.content.getRight
temp.rightcontent {
table = tt_content
select {
pidInList = this
orderBy = sorting
where = colPos=2
languageField = sys_language_uid
}
renderObj = COA
renderObj.10 = TEXT
renderObj.10 {
field = header
wrap = <div class="topic_menu_rechts"> | </div>
}
renderObj.20 = TEXT
renderObj.20 {
field = bodytext
}
}
# Template content object:
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template = FILE
template.file = fileadmin/templates/psv/template.html
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT< temp.maincontent
subparts.CONTENT_RIGHT< temp.rightcontent
subparts.NAVIGATION1 = HMENU
subparts.NAVIGATION1.1 = GMENU
subparts.NAVIGATION1.1 {
# Lasse ich mal aus Platzgründen weg, aber das Menü funktioniert ja ;-)
}
subparts.NAVIGATION2 = HMENU
subparts.NAVIGATION2.entryLevel = -1
subparts.NAVIGATION2.1 = TMENU
subparts.NAVIGATION2.1 {
# Lasse ich mal aus Platzgründen weg, aber das Menü funktioniert ja ;-)
}
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = main_01.css
page.10 < temp.mainTemplate