Ich habe Probleme bei der Frontend-Ansicht eines Inhalts von CTYPE "TEXT"...
Wenn ich den Text im Editor (Backend) mit erstelle, wird dieser Text zwar im Editor richtig dargestellt im Frontend jedoch werden die P-Tags(HTML Ansicht) bzw. Zeilenumbrüche nicht dargestellt.
Dabei habe ich das css_styled_content unter "Statische Templates" eingebunden.
Ich weiß nicht wo hier der Fehler liegt.
page = PAGE
page {
includeCSS {
file1 = uploads/tf/main.css
file2 = uploads/tf/multibox.css
file3 = uploads/tf/ie6.css
}
includeJS{
file7 = uploads/tf/prototype.js
file8 = uploads/tf/scriptaculous.js
file11 = uploads/tf/lightbox.js
}
shortcutIcon = uploads/tf/logo.ico
# Die Designvorlage integrieren
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template_marco.html
10.marks {
# Die obere Hauptnavigation erstellen
HAUPT_NAVI = HMENU
HAUPT_NAVI {
special = directory
special.value = 1
1 = TMENU
1{
expAll=1
noBlur = 1
NO {
wrapItemAndSub = <ul><li>|</li></ul>
}
}
2 = TMENU
2{
expAll=1
noBlur = 1
wrap = <ul>|</ul>
NO {
wrapItemAndSub = <li>|</li>
}
}
3 = TMENU
3{
expAll=1
noBlur = 1
wrap= <ul>|</ul>
NO {
wrapItemAndSub = <li>|</li>
}
}
}
# Fusszeile Menü unten rechts
MENU_UNTEN_RECHTS = HMENU
MENU_UNTEN_RECHTS {
special = directory
special.value = 110
1 = TMENU
1.NO = 1
1.NO.linkWrap = | |
}
MENU_UNTEN_LINKS = HMENU
MENU_UNTEN_LINKS {
special = directory
special.value = 111
1 = TMENU
1.NO = 1
1.NO.linkWrap = | |
}
BREADCRUMB = HMENU
BREADCRUMB {
special = rootline
special.range = 0|-1
1 = TMENU
1.noBlur = 1
1.CUR = 1
1.target = _self
1.NO {
stdWrap.field = nav_title // title
ATagTitle.field = nav_title // title
linkWrap = | |*| » |*|
}
1.CUR {
stdWrap.field = nav_title // title
linkWrap = | |*| » |*|
doNotLinkIt = 1
}
}
# Inhalt ausgeben
INHALT = CONTENT
INHALT {
table = tt_content
select.orderBy = sorting
}
}
}
tt_content = COA
tt_content {
# Überschrift ausgeben
10 = TEXT
10 {
field = header
wrap = <h1>|</h1>
}
# Bodytext ausgeben
20 = TEXT
20 {
required = 1
field = bodytext
}
}