Zum Inhalt springen

Menü mit aktuellem Titel an bestimmter Stelle

Erstellt am 31. Juli 2006 · 1 Antwort · letzte Antwort am 31. Juli 2006

Tags: Frage

maniak ·

Hallo Forum.

Ich bin gerade mit TypoScript angefangen und wollte mal Fragen, ob mir jmd. eine Hilfestellung zu folgender Frage geben kann.

Ich möchte das Menü so darstellen:

Die aktuelle SEite ist beispielsweise "Subseite3"

#Die Startseite hier soll noch ein Ausfahrbares Menü kommen, doch das ist ein weiteres Thema 😉
-Home

[Subseite3] # Seitenname ohne Link

#danach das Menu, aber ohne die aktuelle Seite
|-- Subseite1
|-- Subseite2
|-- Subseite4
|-- Subseite5

Meine ersten Versuche straucheln hier:

#
#
# subpart temp.nav_main
#############################
#
temp.nav_main = COA
temp.nav_main.10 = HMENU
temp.nav_main.10 {
  special = list
  special.value = 1
  1 = TMENU
  1 {
    noBlur = 1
    wrap = <div id="menu">|</div>
    NO = 1
    NO.ATagTitle.field = abstract // description // subtitle
    NO.stdWrap.htmlSpecialChars = 1
    CUR = 1
    CUR < .NO
  }
}


#Der aktuelle Titel
temp.nav_main.20 = HTML
temp.nav_main.20.value {
	1 = TEXT
	1 {
		field = title
		wrap = <div id="header">|</div>
	}
}

temp.nav_main.30 = HMENU
temp.nav_main.30 {
  special = list
  special.value = 41,70,68,37
  1 = TMENU
  1 {
    noBlur = 1
    NO = 1
    NO.ATagTitle.field = abstract // description // subtitle
    NO.stdWrap.htmlSpecialChars = 1
 	}
}
McGregor ·

Hi!

probier mal folgendes

temp.nav_main = COA
temp.nav_main.10 = HMENU
temp.nav_main.10 {
  special = list
  special.value = 1,41,70,68,37
  1 = TMENU
  1 {
    noBlur = 1
    wrap = <div id="menu">|</div>
    NO = 1
    NO.ATagTitle.field = abstract // description // subtitle
    NO.stdWrap.htmlSpecialChars = 1
    CUR = 1
    CUR < .NO
    CUR.doNotLinkIt = 1
  }
}

Und dann tausch das special.value durch entryLevel aus...

Grüße
McGregor