Größeren Textfont einbauen

Größeren Textfont einbauen

Navigations Menus

Contao bietet Ihnen große Freiheiten bei der Erstellung von Navigationen auf einer Website. Acht verschiedene Module mit eigenen Optionen helfen Ihnen dabei, fast alle erdenklichen Wege abzudecken, um Besucher zu den gesuchten Informationen zu führen.

Ein großer Teil der Navigation eines Site-Baum-basierten CMS mit verschachtelten Seiten ist das Konzept der Start- und Stoppebenen.

Lassen Sie uns versuchen, einen kleinen Einblick in dieses Konzept zu bekommen und zu erklären, was mit Contao erreicht werden kann.

Seitenstruktur - Beispeiel

  • Home
  • Musik
    • Genres
      • Rock
      • Pop
    • Künstler
      • Mrs. X
      • Mrs. Y
  • Filme
    • Genres
      • Action
      • Fantasy
    • Actors
      • Mr. X
      • Mr. Y
  • Kontakt

Standard Navigationsmenu

Standardmäßig zeigt das Navigationsmenümodul einfach die gesamte Seitenstruktur an. Immer wenn Sie eine Seite zum Seitenbaum hinzufügen, wird sie automatisch in dieser Liste angezeigt.

Stop level set to 1

If you set the stop level to 1, the navigation menu will only display the first level and all activated pages. Here is what the navigation menu looks like when you are viewing the page Music -> Genres -> Pop.

  • Home
  • Music
    • Genres
      • Pop
      • Rock
  • Movies
  • Contact

Stop level 1 with hard limit

If you want to display even less pages in the navigation menu, you choose the new option "hard limit". That way the navigation menu never shows any page beyond the stop level no matter wether they are activated or not. The ouput is exacly the same as with the "navigation main menu items" module. However, by being able to set a stop level of your choosing, you are not limited to the first level anymore as with the "navigation main menu items" module!

  • Home
  • Music
  • Movies
  • Contact

Stop level 2 with hard limit

A lot of people have requested a navigation menu that allows them to show the first two levels as horizontal main navigation menu and the other levels as optional vertical submenu. You can now accomplish that with the combination of the stop level set to 2 and

Start level 1

The "navigation submenu items" module basically displays the navigation menu from the second level, using the current main menu item as the starting point. Now you can accomplish the same structure with the navigation menu by simply setting the start level to 1. Here is how the navigation menu looks like on the page Music -> Genres -> Pop.

  • Genres
    • Pop
    • Rock
  • Artists
    • Mrs. X
    • Mrs. Y

Start level 2

If your main navigation menu includes the first two levels, but you also want your submenu to start with an offset of two levels you have to set the start level to an equivalent 2. Here is how the navigation menu looks like on the Pop page.

  • Pop
  • Rock