hey
ich hab im object-browser folgende fehlermeldung:
1: Line 1431: The script is short of 1 end brace(s)
aber mein problem: wo finde ich line 1431? so viele hab ich in meinem seutp-field gar nicht. welche datei zeigt die lines an?
hey
ich hab im object-browser folgende fehlermeldung:
1: Line 1431: The script is short of 1 end brace(s)
aber mein problem: wo finde ich line 1431? so viele hab ich in meinem seutp-field gar nicht. welche datei zeigt die lines an?
ja in dem script der aufgerufen wird!
das dokument hat aber nur 150 zeilen. ich hab nicht ganz gerafft wie ich da ran komme???
na dann is eben ein anderes Script gemient oda denkst du typo3 besteht aus einer Datei?
kuck halt mal da müsste bestimmt auch ein datei name angegeben sein
kannst ja posten wenn du es gefunden hast
nee, das ganze liegt am template, glaube ich. meine hilfsnavi zeigt den content an. meine hauptnavi zeigt noch den platzhalter. hab mein setup-code nochmal umgekrempelt aber nichts gefunden. ich dachte ich hab ne geschfeifte klammer vergessen, dem is aber nicht so. keiner meiner datein hat über 150 lines. dateinamen zeigt er leider nicht an. alles was er anzeigt ist:
Errors and warnings
1: Line 1431: The script is short of 1 end brace(s)
sonst nichts. und ich hab noch keine seite gefunden die ne line 1431 hat. der fehler wird im object-browser angezeigt.
🙁
poste mal den code
seite = PAGE
seite {
typeNum = 0
bodyTag = <body bgColor = "#FFFFFF"
stylesheet = fileadmin/style.css
meta.AUTHOR = zenedinho
meta.DESCRIPTION = Hier steht die Beschreibung
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template.html
10.workOnSubpart = DOKUMENT
10.marks {
MENU_OBEN = HMENU
MENU_OBEN.special = directory
MENU_OBEN.special.value = 4
MENU_OBEN.1 = TMENU
MENU_OBEN.1.NO = 1
MENU_OBEN.1.ATagParams = class="linkWeiss"
MENU_OBEN.1.NO.linkWrap = | | |*| | | |*| |
MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 3
MENU_LINKS.entryLevel = 0
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = |<br>
XY = 146, 30
backColor = #3378CE
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontSize = 10
10.niceText = 1
10.offset = 7, 21
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 146, 1
backColor = #FFFFFF
}
20.offset = 0, 29
}
MENU_LINKS.1.RO < .MENU_LINKS.1.NO
MENU_LINKS.1.RO {
tmp < .backColor
backColor = #68ABD7
5 < .10
5.fontColor < .tmp
5.offset = 9,23
}
MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
MENU_LINKS.2 < .MENU_LINKS.1
MENU_LINKS.2 {
NO.backColor = #98CCEF
NO.10.fontColor = #93979A
NO.20.file.backColor = #79AED1
RO < .NO
RO.backColor = #FFFFFF
RO.5 >
CUR < .RO
}
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
}
}
mach mal dein body tag zu
danke, aber das wars leider nicht. geht immer noch nicht
hast du mal link
liegt aufm apache, bei mir.
gleich fliegt ein monitor ausm dritten stock...
wie gesagt, die hauptnavi erkennt den ###content### nicht...
Dann binde doch einfach content (default) ein und schreibe
marks.CONTENT < style.content.get
hab ihn jetzt so eingebunden
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template.html
10.workOnSubpart = DOKUMENT
10.marks.CONTENT < style.content.get
10.marks {
MENU_OBEN = HMENU
MENU_OBEN.special = directory
MENU_OBEN.special.value = 4
MENU_OBEN.1 = TMENU
MENU_OBEN.1.NO = 1
MENU_OBEN.1.ATagParams = class="linkWeiss"
MENU_OBEN.1.NO.linkWrap = | | |*| | | |*| |
kein resultat, wo sollte ich ihn denn am besten einbinden?
mach mal styles <- hab das s vergessen
und du musst unter
Web>Template>Template Information>Click her to edit a whole template Record>Include Static (ohne from extension) content (default) anklicken
dann wird der content erst eingebunden
seite = PAGE
seite {
typeNum = 0
bodyTag = <body bgColor = "#FFFFFF">
stylesheet = fileadmin/style.css
meta.AUTHOR = zenedinho
meta.DESCRIPTION = Hier steht die Beschreibung
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template.html
10.workOnSubpart = DOKUMENT
10.marks.CONTENT < styles.content.get
10.marks {
MENU_OBEN = HMENU
MENU_OBEN.special = directory
MENU_OBEN.special.value = 4
MENU_OBEN.1 = TMENU
MENU_OBEN.1.NO = 1
MENU_OBEN.1.ATagParams = class="linkWeiss"
MENU_OBEN.1.NO.linkWrap = | | |*| | | |*| |
MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 3
MENU_LINKS.entryLevel = 0
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = |<br>
XY = 146, 30
backColor = #3378CE
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontSize = 10
10.niceText = 1
10.offset = 7, 21
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 146, 1
backColor = #FFFFFF
}
20.offset = 0, 29
}
MENU_LINKS.1.RO < .MENU_LINKS.1.NO
MENU_LINKS.1.RO {
tmp < .backColor
backColor = #68ABD7
5 < .10
5.fontColor < .tmp
5.offset = 9,23
}
MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
MENU_LINKS.2 < .MENU_LINKS.1
MENU_LINKS.2 {
NO.backColor = #98CCEF
NO.10.fontColor = #93979A
NO.20.file.backColor = #79AED1
RO < .NO
RO.backColor = #FFFFFF
RO.5 >
CUR < .RO
}
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
}
}
langsam fängst du wohl an mich zu hassen, aber kein resultat...
musst ja auch dein CONTENT = CONTENT wegmachen!
und alles was drunter dazugehört
und hast du content(default) eingebunden
hab ich schon. hatte ich vorher auch schon. was mit cSet ?
warum is es dann oben in deinem TS noch drin?
nope, war pure verzweifelung, siehst ja was drinne ist