[Typo3-UG Hannover] Probleme mit Framesets

winiman at gmx.de winiman at gmx.de
Tue Sep 28 16:51:41 CEST 2004


Hallo zusammen!

Ich habe ein paar Probleme ein Frameset in Typo3 zu integrieren.
Kurz zum inhaltlichen:
Das Frameset besteht aus 4 Frames:
- top (das ist der Kopf der Seite, nur eine Grafik)
- navi (die Navigationsleiste, welche nicht von Typo3 berührt werden soll, sondern 
statisch vorhanden sein soll)
- main (der Hauptbereich der Seite welche durch Typo3 gepflegt werden soll)
- right (ein Platzhalterframe)

Das Frameset sieht in HTML so aus und funktioniert auch:

<frameset cols="800,*" framespacing="0" frameborder="no" border="0">
  <frameset rows="122,*" framespacing="0" frameborder="no" border="0">
    <frame src="top.htm" name="top" frameborder="no" scrolling="no" noresize 
marginwidth="0" marginheight="0" id="top">
    <frameset cols="179,*" framespacing="0" frameborder="no" border="0">
      <frame src="navi.htm" name="navi" frameborder="no" scrolling="no" noresize 
marginwidth="0" marginheight="0" id="navi">
      <frame src="home.php" name="main" frameborder="no" scrolling="auto" noresize 
marginwidth="0" marginheight="0" id="main">
    </frameset>
  </frameset>
  <frame src="dummy.htm" name="right" frameborder="no" scrolling="no" noresize 
marginwidth="0" marginheight="0" id="right">
</frameset>

In Typo3 habe ich nach dem Frameset-Tutorial so ein Template angelegt:

navi = PAGE
navi.typeNum = 2
navi.10 = FILE {
  navi.10 = fileadmin/template/main/navi.htm
}

top = PAGE
top.typeNum = 1
top.10 = FILE {
  top.10 = fileadmin/template/main/top.htm
}

right = PAGE
right.typeNum = 4
right.10 = FILE {
  right.10 = fileadmin/template/main/dummy.htm
}

outer_frameset = PAGE
outer_frameset.typeNum = 0
outer_frameset.frameSet.cols = 800,*
outer_frameset.frameSet.rows = 122,*
outer_frameset.frameSet.params = framespacing="0" frameborder="no" border="0"
outer_frameset.frameSet {
  1 = FRAME
  1.obj = top
  1.params = frameborder="no" scrolling="no" noresize marginwidth="0" 
marginheight="0"
  2 = FRAMESET
  2.cols = 179, *
  2.params = frameborder="no" scrolling="no" noresize marginwidth="0" 
marginheight="0"
  2 {
     1 = FRAME
     1.obj = navi
     2 = FRAME
     2.obj = main
     2.params = frameborder="no" scrolling="auto" noresize marginwidth="0" 
marginheight="0"
   }  
  3 = FRAME
  3.obj = right
  3.params = frameborder="no" scrolling="no" noresize marginwidth="0" 
marginheight="0"
}

main = PAGE
main {
  typeNum = 3
  [...]
}

Wenn ich mir das jetzt anzeigen lasse bekomme ich ein Frame oben rechts angezeigt, 
wo das main-Frame zu sehen ist. Schaue ich mir den Rest des Bildschirms als 
Quellcode an, so erhalte ich das Frameset ausgeworfen:

<frameset cols="800,*" rows="122,*" framespacing="0" frameborder="no" border="0">
<frame src="index.php?id=9&amp;type=1" name="top" frameborder="no" scrolling="no" 
noresize marginwidth="0" marginheight="0" />
<frameset cols="179, *" frameborder="no" scrolling="no" noresize marginwidth="0" 
marginheight="0">
<frame src="index.php?id=9&amp;type=2" name="navi" />
<frame src="index.php?id=9&amp;type=3" name="main" frameborder="no" 
scrolling="auto" noresize marginwidth="0" marginheight="0" />
</frameset>
<frame src="index.php?id=9&amp;type=4" name="right" frameborder="no" 
scrolling="no" noresize marginwidth="0" marginheight="0" />
</frameset>
<noframes>

Frage: Was läuft hier falsch bzw. was kann ich ändern oder wie kann ich das Problem 
vielleicht eleganter lösen?

MfG

Thorsten Wienecke aus Göttingen



More information about the TYPO3-hannover mailing list