wo ist dein workOnSubpart ?
georg
wo ist dein workOnSubpart ?
georg
Also du definierst den Doytype auf jeden Fall auch schon doppelt in deinem Script... Eigentlich sollte das aber nicht zur doppelten Ausgabe führen...
Ich schätze du hast zusätzlich einen Doctype in deiner HTML-Vorlage und verwendest kein workOnSubpart.
Du hast also wahrscheinlich den Teil der Ausgegeben werden soll nicht in die Subparts <!--###CONTENT### start---> und <!--###CONTENT### stop---> eingebunden.
Vielen Dank! Jetzt ist es weg!
Meine html sieht jetzt so aus:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>xxxxx</title>
<link rel="stylesheet" href="test.css" type="text/css" />
</head><br />
<body>
<!-- ###DOKUMENT### begin -->
<div id="wrapper">
<div id="kopf">
<img src="fileadmin/xxxx/images/welle-oben.jpg" />
</div> <!-- Ende Kopfbereich -->
<div id="content">
<div id="navigation">
<img src="fileadmin/xxxx/images/nav_oben.jpg" />###MENU###<img src="fileadmin/xxxx/images/nav_unten.jpg" />
</div> <!-- Ende Navigationsbereich -->
<div id="text">###CONTENT###</div>
<!-- Ende Textbereich -->
<hr class="clear" />
</div> <!-- Ende Contentbereich -->
<div id="blaettern">
<div align="right">###BLATTERN###
</div>
</div> <!-- Ende Blaetterbereich -->
<div id="fuss"><img src="fileadmin/xxxx/images/welle_unten.jpg" /><br />
</div>
<!-- Ende Fussbereich -->
</div> <!-- Ende Wrapper -->
<!-- ###DOKUMENT### end -->
</body>
</html>
Seht ihr noch wo einen Fehler?
Es geht eh schon super aber das Css für den Text geht noch nicht!
Habe folgendes in der css datei:
.htmlarea-content-body {
font-family: Verdana, Arial, Helvetica, sans-serif !important;
font-size:16px !important;
color: #990066 !important;
}
Der Text wird nicht formatiert!
Vielleicht habt ihr noch eine Idee?
Also im Deinem ersten TS sind bei Zeile 14-27 die config Einträge wie schon Slang angemerkt doppelt.
Wird das CSS überhaupt richtig eingebunden? Einfach imn HTML-Quelltext kucken. Stimmt der Pfad?
Also mir sagt .htmlarea-content-body jetzt direkt nichts. Ist diese css class auch so vorhanden? Firefox + Webdeveloper Erweiterung (gibt's auch für den IE) helfen Dir hier sicher weiter.
Evtl. ist es besser so:
#text {
DeineCssAnweisung
}
Gruß
Michael
Ja, danke jezt gehts, hab die Schrift beim #wrapper eingebunden und das .html... ganz rausgelöscht - war nicht vorhanden
Was ich immer noch nicht kapier ist das mit Zeile 14 - 27
Dachte das bräuchte ich zweimal weil hier ein unterschied wäre:
doctype = xhtml_strict
doctype = xhtml_trans
ist das egal welches drin steht?
Natürlich ist ein Unterschied zwischen xhtml_strict und xhtml_trans
aber du kannst nur eines von beiden benutzen. Musst dich halt entscheiden was du möchtest!
Daniel
und was ist besser/standard?
das kommt auf dich drauf an. ich epmfehl xhtml_trans
georg
Ok, vielen Dank! Ich werde das auch nehmen bis ich mit den Details vertraut bin!
Es passiet schon wieder .... diesmal auf dieser seite:
www.die-othopaeden.at
Da ist schon wieder der DOCTYPE 2x drin - obwohl ich SUBPARTS drin hab!
Könnt ihr mir nochmal helfen bitte!
Ohne TS kann dir niemand helfen... das solltest du langsam wissen...
und die Seite ist nicht erreichbar.
Ach so ja, vergessen:
# Ausblenden der Typ-Nummer in der HTML-Adresse
config.simulateStaticDocuments_noTypeIfNoTitle = 1
seite = PAGE
seite {
typeNum = 0
includeCSS.file1 = fileadmin/ortho/styles.css
#includeCSS.file2 = fileadmin/ortho/styles/rte_formate.css
meta.AUTHOR = Sophie Streit
meta.DESCRIPTION = die-orthopaeden.at - Fachärzte für Orthopaedie in WienS!
meta.KEYWORDS = Arzt, Orthopäde Wien, Orthopäden Wien, Orthopäde, Orthopädie, Facharzt für Othopädie, Akupunktur,
Bandscheibenoperation, Bandscheibenvorfall, Carpaltunnelsyndrom, Heilmassage
Hexenschuß, Hüftdysplasie, Hüftultraschall, Infiltrationen, Infusionen, Kinderorthopädie, Kniegelenksprobleme, Massage,
Mutter-Kind-Paß, Neugeborenenuntersuchung, Orthopädische Chirurgie, Physiotherapie, Physiotherapie Wien, Schmerztherapie, Sportorthopädie, Wachstumsschmerzen, Wahlarzt,
# für den richtigen Doctype:
config {
doctype = xhtml_trans
htmlTag_langKey = de-DE
xhtml_cleaning = all
xmlprologue = none
}
#---------------------Schutz der eMailadressen
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
config.spamProtectEmailAddresses_lastDotSubst = (dot)
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/ortho/vorlage_1.html
10.marks {
#------------------------------------------- last update
LASTUPDATE = TEXT
LASTUPDATE {
data = register : SYS_LASTCHANGED
if.isTrue.data = register : SYS_LASTCHANGED
strftime = %e.%m.%Y
wrap = <span style="font-size:9px; font-family: Arial, Geneva, Helvetica; a.link: text-decoration: none;"> Letzte Änderung: | </span>
}
#---------------------------------------Brotkrummel Navigation
PFAD = COA
PFAD {
10 = HMENU
10 {
special = rootline
special.range = 1|-1
#excludeDoktypes = 4
excludeUidList = 143,
1 = TMENU
1 {
NO {
stdWrap.cObject = TEXT
stdWrap.cObject.field = subtitle // title
doNotLinkIt = |*| 0 |*| 1
ATagParams = class="pfad"
allWrap = |*| | > |*| |
}
}
}
}
#-------------------------------------------Blätternavigation
BLATTERN = HMENU
BLATTERN {
special = browse
special {
items = prev | up | next
prev.fields.title = « zurück
up.fields.title = zurück zur Übersicht
next.fields.title = vor »
}
1 = TMENU
1.NO = 1
1.NO {
ATagParams = class="pfad"
allWrap = |*| | |*| |
}
}
#----------------------------------------------------------------Hauptmenü
MENU2 = HMENU
MENU2 {
special = directory
special.value = 144
entryLevel = 1
excludeUidList = 417,
1 = GMENU
1.NO = 1
1.NO {
wrap = |<br>
XY = 192, 24+[30.h]
backColor = #ffffff
transparentColor = #ffffff
10 = TEXT
10.text.field = subtitle // title
#-------------------damit wird der Text geteilt auf 2 Zeilen
10.text.listNum = 0
10.text.listNum.splitChar = _
#---------------------
10.fontColor = #000000
10.fontFile = fileadmin/ortho/fonts/arial.ttf
10.fontSize = 12
10.align = right
10.niceText = 1
10.offset = -25, 20
transparentBackground = 1
#---------------------zweite Textzeile
20 < .10
20.text.listNum = 1
20.fontSize = 10
20.offset = -25, 33
#-------------------Hilfsebene zur Berechnung der Höhe von Menüpunkten
30 < .20
30.text.case = upper
30.text.listNum = 1
30.fontSize = 10
30.offset = 1000, 1000
}
#------------------------RollOver Hauptmenü
1.RO < .1.NO
1.RO {
10.fontColor = #CB920C
#20 < .10
20.fontColor = #CB920C
20.offset = -25, 20
30.fontColor = #CB920C
4 = IMAGE
4.file = fileadmin/ortho/images/over.gif
}
1.CUR < .1.RO
1.ACT < .1.RO
#----------------------------------------------------Zweite Ebene (UP1)
2 < .1
2.NO {
backColor = #ffffff
10.fontColor = #000000
10.fontSize = 10
10.offset = -25, 20
}
2.RO < .2.NO
2.RO.backColor = #ffffff
2.RO.10.fontSize = 10
2.RO.10.fontColor = #FBAF00
2.RO.20.fontColor = #FBAF00
2.RO.30.fontColor = #FBAF00
2.CUR < .2.RO
2.ACT < .2.RO
}
#---------------------------------------------------Dritte Ebene (UP2)
#3 < .2
#3.NO {
#10.fontSize = 8
#}
#3.CUR < .3.RO
#----------------------------------------------------------------Obere Menüzeile
MENU1 = HMENU
MENU1.special = directory
MENU1.special.value = 334
MENU1.entryLevel = 1
MENU1.1 = GMENU
MENU1.1.NO = 1
MENU1.1.NO {
wrap = |<br>
XY = 150, 20
backColor = #FBC953
10 = TEXT
10.text.field = title
10.fontColor = #000000
10.fontFile = fileadmin/ortho/fonts/arial.ttf
10.fontSize = 13
10.niceText = 1
10.offset = 25, 14
transparentBackground = 1
}
#----------------------------Aufklapp
MENU1.1.RO < .MENU1.1.NO
#--------------------------Over oberesmenü
MENU1.1.RO {
backColor = #FBC953
15 < .10
15.fontColor = #838382
15.fontSize = 13
15.offset = 25, 14
}
MENU1.1.CUR < .MENU1.1.RO
20.offset = 40, 14
#-----------------------------------------------------Inhalt einfügen
CONTENTNORMAL = CONTENT
CONTENTNORMAL {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
}
die Seite sollte aber erreichbar sein, bei mir ist sie es jedenfalls.
Du solltest versuchen etwas Struktur in dein TS-Code zu bekommen.
Das Auslagern von TS würde da helfen, aber auch das Einrücken wäre ein Anfang. Es fällt wirklich schwer da durchzuzblicken, wenn man nicht mal auf den ersten Blick sehen kann ob alle Klammern korrekt sind.
Das hier gehört auf jeden Fall nicht in dein page-Objekt:
config {
doctype = xhtml_trans
htmlTag_langKey = de-DE
xhtml_cleaning = all
xmlprologue = none
}
Es handelt sich dabei nicht um ein page.config
Desweiteren fehlt ein workOnSubpart. Ich gehe davon aus das auch diesesmal wieder der Doctype in deinem HTML-Template zu finden ist. Ist doch logisch das der dann doppelt ausgegeben wird. Man sieht ja sogar den Subpart <!-- ###DOKUMENT### begin --> im Quelltext...
Die Seite ist nicht erreichbar: www.die-othopaeden.at
Du meinst sicher: www.die-orthopaeden.at
Ich empfehle es mal so zu versuchen:
# ----------------------- Configs ---------------------- #
config {
# Ausblenden der Typ-Nummer in der HTML-Adresse
simulateStaticDocuments_noTypeIfNoTitle = 1
# für den richtigen Doctype:
doctype = xhtml_trans
htmlTag_langKey = de-DE
xhtml_cleaning = all
xmlprologue = none
# Schutz der eMailadressen
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
spamProtectEmailAddresses_lastDotSubst = (dot)
}
# #########################################################
# ---------------------- Alle Marker -------------------- #
temp {
# #########################################################
# ----------------------- Last Update ------------------- #
LASTUPDATE {
data = register : SYS_LASTCHANGED
if.isTrue.data = register : SYS_LASTCHANGED
strftime = %e.%m.%Y
wrap = <span style="font-size:9px; font-family: Arial, Geneva, Helvetica; a.link: text-decoration: none;"> Letzte Änderung: | </span>
}
# #########################################################
# ------------------ Rootline Navigation ---------------- #
PFAD = COA
PFAD {
10 = HMENU
10 {
special = rootline
special.range = 1|-1
# excludeDoktypes = 4
excludeUidList = 143,
1 = TMENU
1 {
NO {
stdWrap.cObject = TEXT
stdWrap.cObject.field = subtitle // title
doNotLinkIt = |*| 0 |*| 1
ATagParams = class="pfad"
allWrap = |*| | > |*| |
}
}
}
}
# #########################################################
# ------------------- Browse Navigation ----------------- #
BLATTERN = HMENU
BLATTERN {
special = browse
special {
items = prev | up | next
prev.fields.title = « zurück
up.fields.title = zurück zur Übersicht
next.fields.title = vor »
}
1 = TMENU
1 {
NO {
ATagParams = class="pfad"
allWrap = |*| | |*| |
}
}
}
# #########################################################
# -------------------- Obere Menüzeile ------------------ #
MENU1 = HMENU
MENU1 {
special = directory
special.value = 334
1 = GMENU
1 {
NO = 1
NO {
wrap = |<br>
XY = 150, 20
backColor = #FBC953
transparentBackground = 1
10 = TEXT
10 {
text.field = title
fontColor = #000000
fontFile = fileadmin/ortho/fonts/arial.ttf
fontSize = 13
niceText = 1
offset = 25, 14
}
}
# Aufklapp
RO < .NO
# Over oberesmenü
RO {
# backColor = #FBC953
15 < .10
15 {
fontColor = #838382
fontSize = 13
offset = 25, 14
}
}
CUR < .RO
CUR {
20.offset = 40, 14
}
}
}
# #########################################################
# ---------------------- Zweites Menü ------------------- #
MENU2 = HMENU
MENU2 {
special = directory
special.value = 144
excludeUidList = 417,
1 = GMENU
1 {
NO = 1
NO {
wrap = |<br />
XY = 192, 24+[30.h]
backColor = #ffffff
transparentColor = #ffffff
transparentBackground = 1
10 = TEXT
10 {
text {
field = subtitle // title
# damit wird der Text geteilt auf 2 Zeilen
listNum = 0
listNum.splitChar = _
}
fontColor = #000000
fontFile = fileadmin/ortho/fonts/arial.ttf
fontSize = 12
align = right
niceText = 1
offset = -25, 20
}
# zweite Textzeile
20 < .10
20 {
text.listNum = 1
fontSize = 10
offset = -25, 33
# Hilfsebene zur Berechnung der Höhe von Menüpunkten
}
30 < .20
30 {
text {
case = upper
listNum = 1
}
fontSize = 10
offset = 1000, 1000
}
}
# --------------------- RollOver Hauptmenü
RO < .NO
RO {
10.fontColor = #CB920C
20 {
fontColor = #CB920C
offset = -25, 20
}
30.fontColor = #CB920C
4 = IMAGE
4.file = fileadmin/ortho/images/over.gif
}
CUR < .RO
ACT < .RO
}
# ------------- Zweite Ebene (UP1)
2 < .1
2 {
NO {
# backColor = #ffffff
# 10.fontColor = #000000
10.fontSize = 10
# 10.offset = -25, 20
}
RO < .NO
RO {
# backColor = #ffffff
# 10.fontSize = 10
10.fontColor = #FBAF00
20.fontColor = #FBAF00
30.fontColor = #FBAF00
}
CUR < .RO
ACT < .RO
}
# ------------- Dritte Ebene (UP2)
# 3 < .2
# 3 {
# NO {
# 10.fontSize = 8
# }
# CUR < .RO
# }
}
}
# ###################### ENDE TEMP ########################
# ----------------------- Page Objekt ------------------- #
seite = PAGE
seite {
includeCSS {
file1 = fileadmin/ortho/styles.css
# file2 = fileadmin/ortho/styles/rte_formate.css
}
meta.AUTHOR = Sophie Streit
meta.DESCRIPTION = die-orthopaeden.at - Fachärzte für Orthopaedie in WienS!
meta.KEYWORDS = Arzt, Orthopäde Wien, Orthopäden Wien, Orthopäde, Orthopädie, Facharzt für Othopädie, Akupunktur, Bandscheibenoperation, Bandscheibenvorfall, Carpaltunnelsyndrom, Heilmassage, Hexenschuß, Hüftdysplasie, Hüftultraschall, Infiltrationen, Infusionen, Kinderorthopädie, Kniegelenksprobleme, Massage, Mutter-Kind-Paß, Neugeborenenuntersuchung, Orthopädische Chirurgie, Physiotherapie, Physiotherapie Wien, Schmerztherapie, Sportorthopädie, Wachstumsschmerzen, Wahlarzt
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/ortho/vorlage_1.html
workOnSubpart = DOKUMENT
marks {
LASTUPDATE < temp.LASTUPDATE
PFAD < temp.PFAD
BLATTERN < temp.BLATTERN
MENU2 < temp.MENU2
MENU1 < temp.MENU1
CONTENTNORMAL < styles.content.get
}
}
}
Vielen Dank! Jetzt paßt es! Ordnung halten ist leider nicht meine Stärke!!! Aber ich versuch mich zu bessern! :o