Zum Inhalt springen

entryLevel Problem

Erstellt am 26. Januar 2005 · 70 Antworten · letzte Antwort am 8. Februar 2006 · Seite 1 von 4

Tags: Frage

Dander ·

du sollst das entryLevel rausnehemen

MENU_LINKS = HMENU 
MENU_LINKS.special = directory 
MENU_LINKS.special.value = 22 
MENU_LINKS.1 = GMENU 
MENU_LINKS.1.NO = 1
...
V37 ·
Dander schrieb

du sollst das entryLevel rausnehemen

MENU_LINKS = HMENU 
MENU_LINKS.special = directory 
MENU_LINKS.special.value = 22 
MENU_LINKS.1 = GMENU 
MENU_LINKS.1.NO = 1
...

Ja, genau das hab ich ja jetzt gemacht. Nur die 3 Subitems, die unter der ID 25 stehen (über uns, wie im Buch beschrieben...), werden nicht dargestellt.....

spyhome ·
  subparts.NAVIGATION = HMENU
  subparts.NAVIGATION {
    entryLevel = 0
    1 = TMENU
    1.NO = 1
    1.NO {
      allWrap =    |  
    }
    1.RO < .1.NO
  }

  subparts.SUBNAVI = HMENU
  subparts.SUBNAVI {
    entryLevel = 1
    1 = TMENU
    1.No = 1
    1.NO {
      ATagParams = class="subnavi"
    }

  }

Und so sieht meine Seite aus:
http://www.spyhome.de

Dazu habe ich in TYPO3 folgende Struktur angelegt. Die Bindestriche stellen jeweils eine Ebene dar:
root
- Home
- - News
- Marathon
- - Body Mass Index
- Fotos
- - Sylvester 2004

usw.

Ich hoffe das Hilft dir nun deine Seite mit der richtigen Navigation aufzubauen.

Gruß Christian

Dander ·

wie wärs mit einer doku...

die subitemsbekommst du indem du eine zweite ebene für dein menü anlegst
d.h

MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = |

erste ebene

und darunter

MENU_LINKS.2 = GMENU
MENU_LINKS.2.NO = 1
MENU_LINKS.2.NO {
wrap = |

für die zweite ebene

dergolo ·

Kein Wunder dass die Subs nicht angezeigt werden. Du hast sie ja auchnicht definiert 🙂

MENU_LINKS.1 ist die erste Ebene.
MENU_LINKS.2 die zweite u.s.w...

V37 ·

Ich glaub ich hab einen ganz komisches Problem. Es könnte mein Gehirn sein......lol

MENU_OBEN = HMENU
MENU_OBEN.special = directory
MENU_OBEN.special.value = 20
MENU_OBEN.1 = TMENU
MENU_OBEN.1.NO = 1
MENU_OBEN.1.NO.linkWrap = &nbsp;|&nbsp;&#124; |*| &nbsp;|&nbsp;&#124; |*| &nbsp;|

MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 22
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = | <br>
XY = 197, 30
backColor = #f19f0f
}

MENU_LINKS.2 = GMENU
MENU_LINKS.2.NO = 1
MENU_LINKS.2.NO {
wrap = | <br>
}

Jetzt ist das ganze Menü orange (F19F0F)

Was tun? Tschuldigung für das dumme fragen lol, aber naja.....

und btw: das MENU.2 ist doch definiert. Ganz unten in meinem ersten post, oder?

Dander ·

backColor = #f19f0f
das ist ja das orange und du hast sonst nichts angegeben wie z.b schriftfarbe...
dann ist es doch kein wunder das alles orange ist

V37 ·

MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 22
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = | <br>
XY = 197, 30
backColor = #f19f0f
fontColor = #ffffff
fontFile = fileadmin/fonts/verdana.ttf
fontSize = 11
offset = 7, 19
}

MENU_LINKS.2 = GMENU
MENU_LINKS.2.NO = 1
MENU_LINKS.2.NO {
wrap = | <br>
XY = 197, 30
backColor = #CCCCCC
fontColor = #ffffff
fontFile = fileadmin/fonts/verdana.ttf
fontSize = 11
offset = 7, 19
}
10 = TEXT
10.text.field = title
10.fontColor = #ffffff
10.fontFile = fileadmin/fonts/verdana.ttf
10.fontSize = 11
10.niceText = 1
10.offset = 7, 19

20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 197,1
backColor = #FFFFFF
}

Und das Menü bleibt orange :p

lol

dergolo ·

Guckst Du hier:

MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 22
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
  wrap = | <br>
  XY = 197, 30
  backColor = #f19f0f
  XY = 190, 30 
  backColor = #f19f0f 
  10 = TEXT
  10.text.field = title
  10.fontColor = #ffffff 
  10.fontFile = fileadmin/fonts/verdana.ttf
  10.fontSize = 11 
  10.offset = 7, 19
}
V37 ·
dergolo schrieb

Guckst Du hier:

MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 22
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
  wrap = | <br>
  XY = 197, 30
  backColor = #f19f0f
  XY = 190, 30 
  backColor = #f19f0f 
  10 = TEXT
  10.text.field = title
  10.fontColor = #ffffff 
  10.fontFile = fileadmin/fonts/verdana.ttf
  10.fontSize = 11 
  10.offset = 7, 19
}

Und das für das Menü 2 sieht dann genauso aus? Mit den ganzen Definitionen?

dergolo ·

Du kannst die Definitionen vom ersten Level übernehmen und die Änderungen anpassen:

MENU_LINKS.2 < .MENU_LINKS.1
MENU_LINKS.2.special.value = {page:uid}
MENU_LINKS.2.NO.backColor = #CCCCCC 
MENU_LINKS.2.NO.10.offset = 15, 14
dergolo ·

So wie ich es im letzten Posting geschrieben habe, funktioniert es bei mir und so war es meine erste Idee. Jetzt habe ich aus Spass mal die Zeile rausgenommen:

MENU_LINKS.2.special.value = {page:uid}

Und es funktionier immer noch !!! WARUM ????? #paralyzed#

Ich verstehe es nicht. Eigentlich müsste doch in MENU_LINKS.2.special.value durch das Kopieren immer noch die vorher gesetzte 22 drinstehen, oder ??