Zum Inhalt springen

Navigation zeigt nur Navigationsebene 1 an!

Erstellt am 24. Februar 2005 · 1 Antwort · letzte Antwort am 24. Februar 2005

Tags: Frage

ricci007 ·

Hi @ll,

erstmal muss ich loswerden, dass das Forum hier echt genial ist, tausend Dank 😃 😃 😃 !!!

So, nun zu meinem Problemchen 🙂

Ich habe 2 Navigationsebenen, d.h. es gibt es gibt 2 Ebenen von Seiten:

home
thema
-forum
-downloads
guestbook
about
contact

Ich habe folgendes Template erstellt, das so auch mit 1er Navigationsebene funktioniert:

# general template
#
page = PAGE
page {
  typeNum = 0
  bodyTag = <body bgcolor="#FFFFFF" fgcolor="#000000">
}

page.10 = TEMPLATE
page.10 {
  # define html-template
  #
  template = FILE
  template.file = fileadmin/template.html

  # subsitiute year tag
  #
  marks.YEAR = TEXT
  marks.YEAR.data = date:Y

  # subsitiute author tag
  #
  marks.AUTHOR = TEXT
  marks.AUTHOR.value = Mein Name

  # make the navigation path
  #
  marks.NAVIGATION_PATH = HMENU
  marks.NAVIGATION_PATH {
    special = rootline
    special.range = 1
    1 = TMENU
    1.NO {
      linkWrap = navigation path: /|
      #ATagParams = class = home
    }
  }

  # fill in the content
  #
  marks.CONTENT = CONTENT
  marks.CONTENT.table = tt_content 

  # print the menu (damn, how to make subnav visible???)
  #
  marks.NAVIGATION = HMENU
  marks.NAVIGATION.special = directory
  marks.NAVIGATION.special.value = 66
  marks.NAVIGATION.1 = TMENU
  marks.NAVIGATION.1.NO = 1
  marks.NAVIGATION.1.NO.linkWrap = | <br><br>
  # keine Ahnung fuer was das ist?!?!?
  #
  #marks.NAVIGATION.2 < marks.NAVIGATION.1

LG

ricci007