Hallo Forum!
Für die Profies hier ist das sicher kein Problem:
Ich möchte folgendes Frameset erzeugen:
******************************
* * top *
* ***********************
* menu * *
* * page *
* * *
* ***********************
* * bottom *
******************************
Folgende Files hab ich angelegt:
* root (id=2)
** Frameset (id=3)
** Menü (id=4)
**** Home (id=5)
***** Home_Top (id=6)
***** Home_Main (id=7)
***** Home_Bottom (id=8-)
**** Kontakt (id=9)
***** Kontakt_Top (id=10)
***** Kontakt_Main (id=11)
***** Kontakt_Bottom (id=12)
...
Könnte mir jemand von euch nun den Code für die Templetes erstellen oder dabei helfen? Ich finde nämlcih in der Doku keine passenende Beispiele ein derartiges Frameset mit Typo3-Seiten zu gestalten.
Welche Templets muss ich erstellen? Wie sehen sie aus? Wo muss ich sie anlegen ???? Bei root oder Frameset oder Menü ??? WO?
Bitte helft mir!!!
Hier noch der Code, welchen ich beim Frameset-Templet (SETUP) angelegt hab:
# Definition of the page-objects and Frameset
outer_frameset = PAGE
page = PAGE
menu = PAGE
top = PAGE
bottom = PAGE
outer_frameset.typeNum = 0
page.typeNum = 1
menu.typeNum = 2
top.typeNum = 3
bottom.typeNum = 4
# Defining the content-frame
page.10 = TEXT
page.10.value = The page-frame
# Defining the menu-frame
menu.10 = TEXT
menu.10.value = The menu-frame
# Defining the top-frame
top.10 = TEXT
top.10.value = The top-frame
# Defining the bottom-frame
bottom.10 = TEXT
bottom.10.value = The bottom-frame
# *************************
# Defining the content-frame, "page"
# *************************
# Header code, stylesheet
page.headerData.10 = TEMPLATE
page.headerData.10 {
template = FILE
template.file = http://wosig.peilstein.net/index.php?id=64
workOnSubpart = HEADER_CODE
}
# Bodytag
page.bodyTag = <BODY bgcolor="#ffffff" background="fileadmin/frames/background.gif"/>
# Page-content
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = http://wosig.peilstein.net/index.php?id=64
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
subparts.PAGE_HEADER = TEXT
subparts.PAGE_HEADER.field = title
}
# *************************
# Defining the top-frame, "top"
# *************************
# Header code, stylesheet
top.headerData.10 = TEMPLATE
top.headerData.10 {
template = FILE
template.file = fileadmin/frames/top.html
workOnSubpart = HEADER_CODE
}
# Bodytag
# top.bodyTag = <BODY bgcolor="#ffffff" leftmargin="0" topmargin="0">
# Page-content
top.10 = TEMPLATE
top.10 {
template = FILE
template.file = fileadmin/frames/top.html
workOnSubpart = DOCUMENT_BODY
}
# *************************
# Defining the bottom-frame, "bottom"
# *************************
# Header code, stylesheet
bottom.headerData.10 = TEMPLATE
bottom.headerData.10 {
template = FILE
template.file = fileadmin/frames/top.html
workOnSubpart = HEADER_CODE
}
# Bodytag
# bottom.bodyTag = <BODY bgcolor="#ffffff" leftmargin="0" topmargin="0">
# Page-content
bottom.10 = TEMPLATE
bottom.10 {
template = FILE
template.file = fileadmin/frames/top.html
workOnSubpart = DOCUMENT_BODY
}
# *************************
# Defining the menu-frame, "menu"
# *************************
# Header code, stylesheet
menu.headerData.10 = TEMPLATE
menu.headerData.10 {
template = FILE
# template.file = fileadmin/frames/menu.html
# workOnSubpart = HEADER_CODE
}
# Bodytag
menu.bodyTag = <BODY bgcolor="#ffffff">
# Page-content
menu.10 = TEMPLATE
menu.10 {
template = FILE
template.file = fileadmin/frames/menu.html
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
}
#################
# Frameset Definition #
#################
outer_frameset.frameSet.cols = 166,*
outer_frameset.frameSet.params = framespacing="0" bordercolor="#FFFFFF" frameborder="O" border="0"
outer_frameset.frameSet {
1 = FRAME
1.obj = menu
1.params = frameborder="0" noresize marginheight="0" border="0" scrolling="NO"
2 = FRAMESET
2.params = framespacing="0" bordercolor="#FFFFFF" frameborder="0" border="0" marginheight="0" border="0"
2.rows = 70,*,70
2 {
1 = FRAME
1.obj = top
1.params = frameborder="0" noresize marginheight="0" border="0" scrolling="NO"
2 = FRAME
2.obj = page
2.params = frameborder="0" marginheight="0" border="0" scrolling="AUTO"
3 = FRAME
3.obj = bottom
3.params = frameborder="0" noresize marginheight="0" border="0" scrolling="NO"
}
}
Was stimmt mit diesem Template nicht? Wo muss ich noch templates oder verweise anlegen, damit diese seite im Frontend korrekt mit folgenden Typo3-Seiten angezeigt wird:
* menu = Menü
* top = Home_Top
* page = Home_Main
* bottom = Home_Bottom
Danke im voraus für eure Unterstützung!!!
Mfg Stephan