# Frameset:
frameset = PAGE
frameset.typeNum = 0
top = PAGE
top.typeNum = 1
main = PAGE
main.typeNum = 2
frameset.frameSet {
rows = 80, *
params = border="0" framespacing="0" frameboarder="no"
1 = FRAME
1.obj = top
1.src = fileadmin/basti/top.html
1.params = scrolling="no" noresize frameboarder="no" marginwidth="0" marginheight="0"
2 = FRAME
2.obj = main
2.src = fileadmin/basti/main.html
2.params = scrolling="auto" noresize frameboarder="no"
}
Meine Frage... wie kann ich den Mainframe in links und rechts teilen?
2. Frage: Ich hab trotz Dokumentation noch nicht kapiert, wozu dieses typeNum gut ist. Kann das mal bitte jemand erklären? (Ist es so richtig, wie ich die typeNums definiert habe?)
# Frameset:
frameset = PAGE
frameset.typeNum = 0
top = PAGE
top.typeNum = 1
main = PAGE
main.typeNum = 2
frameset.frameSet {
rows = 80, *
params = border="0" framespacing="0" frameborder="0"
1 = FRAME
1 {
obj = top
src = fileadmin/basti/top.html
params = scrolling="no" noresize marginwidth="0" marginheight="0"
}
2 = FRAMESET
2 {
cols = 200, *
1 = FRAME
1.obj = navi
1.src < styles.content.getLeft
1.params = scrolling="auto" noresize marginwidth="0" marginheight="0"
2 = FRAME
2.obj = main
2.src < styles.content.get
2.params = scrolling="auto" noresize marginwidth="0" marginheight="0"
}
}
^^So hab ich das jetzt abgeändert und hab meine gewünschten Frames... eine Frage trotzdem noch....
Wozu habe ich jetzt oben
top = PAGE
top.typeNum = 1
main = PAGE
main.typeNum = 2
das definiert? brauch ich das überhaupt noch? muss ich da nich noch eins hinzufügen, da ich jetzt 3 frames hab? hmmm klärt mich bitte auf
hmmm klärt mich bitte auf
bei deinem wissensstand geht´s wirklich nicht ohne tutorial lesen: http://typo3.org/documentation/document-library/doc_tut_n3/
wenn du das durch hast, gips wahrscheinlich immer noch fragen. dafür ist dann dieses forum hier da... 😉
Du wirst lachen, aber ich hab die Doku vor meiner Nase auf dem Tisch liegen... alles was da steht:
Die typeNum dieser Seite soll 0 sein. Dies ist für die Seite mit dem Frameaufbau auch zwingend erforderlich
Na wow... da werd ich ja unheimlich schlau draus!!
ich hab die Doku vor meiner Nase auf dem Tisch liegen
soso, seit wann ist die in deutsch? 😉
die von dieser seite? schau mal links im menü... 'Deutsche Dokumentation'
du beziehst dich doch gar nicht auf den von mir geposteten link, was soll ich also noch dazu sagen?
den link hab ich übersehen..sry
Also ich hab mit den Teil für das Definieren der Framesets mal reingezogen und umgesetzt. Ging soweit auch ganz gut und ich weiß nu auch wozu typeNum gut is! 😉
Allerdings hab ich das Problem, daß die Seite sich über die volle Breite ausdehnt und nicht die Breite einhält, die ich angegeben habe.
# Definition of the page-objects
outer_frameset = PAGE
outer_frameset.typeNum = 0
top = PAGE
left = PAGE
main = PAGE
right = PAGE
top.typeNum = 1
left.typeNum = 2
main.typeNum = 3
right.typeNum = 4
# Defining the content-frame
top.10 = TEXT
top.10.value = The top-frame
# Defining the menu-frame
left.10 = TEXT
left.10.value = The left-frame
# Defining the top-frame
main.10 = TEXT
main.10.value = The main-frame
# Defining the top-frame
right.10 = TEXT
right.10.value = The right-frame
# Defining the outer frameset
outer_frameset.frameSet.rows = 80,*
outer_frameset.frameSet.params = framespacing="0" frameborder="0"
outer_frameset.frameSet {
1 = FRAME
1.obj = top
1.params = scrolling="NO" noresize
2 = FRAMESET
2 {
cols = 200, 550, 230
1 = FRAME
1.obj = left
1.params = scrolling="AUTO" noresize
2 = FRAME
2.obj = main
2.params = scrolling="AUTO" noresize
3 = FRAME
3.obj = right
3.params = scrolling="AUTO" noresize
}
So sieht das Ganze nun aus.. die Breite ist also auf insgesamt 980 Pixel festgelegt, erstreckt sich aber über die gesamte Seite... woran liegt das?