Given you are using Contao's mod_navigation...
You may need to build multiple mod_navigation modules for each "Level" of menu items you have. This example we'll say you have a Home page as your level 1 page, and Business and Personal pages as the level 2 pages. In your case, you have two levels, so you'll build two modules (we'll name them menu1 and menu2).
For menu1, you'll leave the "Start Level" and "Stop Level" at 0, and check the "Hard Limit" box. This will ensure that only your main link will show for that module. Then specify in the "Set A Reference Page" area that you want this included on the Home page of your site.
For menu2, you'll specify a "Start Level" 1, and "Stop Level" 1, and check the "Hard Limit" box. This will ensure that only the 2 submenu items (Business - Personal) will show on the module.
The carefree way to plug them into the site will be to put them both into the same layout, and use CSS to hide your menu2 from the home page. To do this, ensure you give a CSS class to your home page (we'll say it's class is "home") and a CSS class to your menu2 (we'll call the class "menu2")
Code:
.home .menu2{
display: none
}
In theory, I believe this will work :D
Bookmarks