Zum Inhalt springen

Menus unsichtbar

Erstellt am 18. November 2003 · 3 Antworten · letzte Antwort am 19. November 2003

Tags: Frage

jcschneider ·

Hilfeeeeeeeeeee!!!!


Hi folks,

Habe ein ziemliches Problem mit meinen Menus. Ich versuche seit Tagen 2 Menus in meine Page zu integrieren(MENU_TOP, MENU_LINKS), das will aber einfach nicht so wie ich es gerne hätte. 😢

Der Contnent und alles andere wird problemlos angezeigt, das menu erscheint jedoch einfach nicht. Bin noch ein ziemlicher Neuling in Typo 3, habe jedoch alle menus genau nach Dokumentation aufgebaut. Sollte eigentlich ohne Probleme laufen. Kann mir da jemand helfen??

Gruss

Jean-Claude
jcschneider@tiscalinet.ch

PS: werde heute abend noch den code posten 🙁

jcschneider ·

*vorVerzweiflungfastzusammenbrechend*

Hallo zämme,

Wie ich schon erwähnt habe zeigt es mir kein menu an, hier den Code den ich gemäss Tutorial benutzt habe:

# Default PAGE object: 
seite = PAGE 
seite.typeNum = 0 
seite.bodyTag = <body bgcolor = "#666666" topmargin = "0" leftmargin = "0">
seite.10 = TEMPLATE 
seite.10 { 
              template = FILE 
              template.file = fileadmin/template.html 
              workOnSubpart = DOKUMENT 

              #Navi Top 
                  marks.MENU_TOP = HMENU 
                  marks.MENU_TOP.special = directory 
                  marks.MENU_TOP.special.value = 38
                  marks.MENU_TOP.1 = GMENU 
                  marks.MENU_TOP.1 { 
                          NO { 
                                 backColor = #98b3f8 
                                 XY = [10.w]+16 , 20 
                                 10 = TEXT 
                                 10.text.field = title 
                                 10.fontFile = fileadmin/font/arial.ttf 
                                 10.fontColor = black 
                                 10.fontSize = 8
                                 10.offset = 8,15 
                                 10.niceText = 2 
                                 } 
                          ACT < .NO 
                          ACT = 1 
                          ACT.10.fontColor = blue 
                          RO < .NO 
                          RO = 1 
                          RO.10.fontColor = red 
                          } 
                  
             # NAVI_LEFT object: 
                  marks.MENU_LINKS = HMENU 
                  marks.MENU_LINKS.special = directory 
                  marks.MENU_LINKS.special.value = 2
                  marks.MENU_LINKS.entryLevel = 1 
                  marks.MENU_LINKS.1 = GMENU 
                  marks.MENU_LINKS.1 { 
                          expAll=0 
                          NO { 
                                wrap = | <BR> 
                                XY = [10.w]+20,30 
                                10 = TEXT 
                                10.text.field = title 
                                10.fontFile = fileadmin/font/arial.ttf 
                                10.font.Color = black 
                                10.fontSize = 8
                                10.offset = 5,20 
                                10.niceText = 0 
                                } 
                          } 
                  marks.MENU_LINKS.2 = GMENU 
                  marks.MENU_LINKS.2 { 
                          expAll=0 
                          NO { 
                                wrap = | <BR> 
                                XY = [10.w]+25,25 
                                10 = TEXT 
                                10.text.field = title 
                                10.fontFile = fileadmin/font/arial.ttf 
                                10.fontSize = 9 
                                10.offset = 22,22 
                                10.niceText = 0 
                                } 
                          } 

              marks.INHALT = CONTENT 
              marks.INHALT.table = tt_content 
              }

Und hier noch mein HTML template:

<body background="templatebilder/bg.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<font size="1">###DOKUMENT###</font> 
<table width="800" border="0" cellspacing="0" cellpadding="0">
    .
   .
   .
                <td width="621" background="templatebilder/baroben2.jpg"><div align="right"><font size="1">###MENU_TOP###</font></div></td>
              </tr>
    .
    .
    .
                <td height="392" align="left" valign="top" background="templatebilder/spacermenu.jpg"><font size="1">###INHALT###</font></td>
              </tr>
			  </table></td>
		  <td width="182" rowspan="4" valign="top"><p><font size="1">###NEWS_ZEILE###</font></p>
            <p>&nbsp;</p>
            <p>&nbsp;</p></td>
        </tr>
        <tr>
          <td height="16" valign="middle" background="templatebilder/menuschriftbg.jpg"> 
<div align="center"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"><strong>Menu</strong></font></div></td>
        </tr>
        <tr>
          <td width="147" height="216" valign="top" bgcolor="#CDCDCD"><font size="1">###MENU_LINKS###</font> 
          </td>
   .
   .
   .
          <td width="75%" background="templatebilder/barunten.jpg"><div align="right"><font size="1">###IMPRESSUM###</font></div></td>
        </tr>
      </table></td>
  </tr>
</table>
<font size="1">###DOKUMENT### </font>

so, das ist nun mein Code. Nicht verzweifeln, ich weiss,dass mein Code sehr unsauber ist, aber ich bin halt auch noch ein Greenhorn in sachen Typo3.

Wenn mir nun jemand helfen könnte wäre ich super froh..

Grüsse Jean-Claude