# Erweitertes Menu 3. Ebene wird nicht angezigt

**URL:** <https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [11. Mai 2015 um 08:34 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106 "2015-05-11T08:34:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [11. Mai 2015 um 08:34 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/1 "2015-05-11T08:34:05Z")

</div>

Hallo @ all, ich habe mir ein kleines MegaMenu gebaut. Das sieht wie folgt aus: [http://prntscr.com/73wvs3](http://prntscr.com/73wvs3) der code dazu ist: `/\* MAIN-NAVIGATION ---------Zusatz--------------- \*/ #mainNavigation { margin: 0 auto; height: 35px; padding: 0; width: 1020px; line-height: 35px; border:0px;} #mainNavigation a {padding:0px 0px 0px 0px; height: 30px; cursor: pointer; border:0px;} #mainNavigation a span {background:transparent; display: block;margin: 0;padding: 0 15px 0px;height: 35px;line-height: 35px;} #mainNavigation a:hover {background: #fff; text-decoration: none; font-weight:bold; color: #666;} #mainNavigation a:hover span {color: #666; margin: 0px 0; height: 35px; line-height: 35px; font-weight: normal; background-color: #fff;} #mainNavigation a.active {background:transparent; color: #fff; height: 35px; border:0px;} #mainNavigation a.active span { background-color: #FFF; color: #666; height: 35px; font-weight: normal;} #mainNavigation a.active:hover span {height: 35px; margin: 0; line-height: 35px;} #mainNavigation ul li.dropactive:hover a { color: #666; border: 0px; height:35px; } #mainNavigation ul li.dropactive:hover a span {height: 35px; color: #666; background:#fff; } #mainNavigation ul li.dropactive a:hover span { height: 35px; border: 2px; background-color: #fff;} #mainNavigation ul li.dropactive:hover ul.dropdown li.sub ul {margin: 0px; padding:0px;color: #fff;border:0px;float:none} #mainNavigation ul li.active.dropactive:hover a {color: #fff;} #mainNavigation li:hover ul.dropdown, #mainNavigation li:hover ul.droplevel {margin-bottom:10px; padding-bottom:10px; width:1020px; -moz-box-shadow: -5px 5px 5px #ddd; -webkit-box-shadow: 0px 2px 0px #008ac9;/\* box-shadow: -5px 5px 5px #ddd;\*/ margin-top:-1px; background-color:#FFF;left:-2px;} #mainNavigation li.active:hover ul.dropdown {margin-left: 0px;} media="all" #mainNavigation ul li.dropactive:hover a {border: 1px solid; height: 28px; position: relative; z-index: 3000;} /\* -------Zusatz-----\*/ #mainNavigation ul li.dropactive:hover ul.dropdown li:hover a {color: #008ac9;background-color: #fff;} #mainNavigation ul li.dropactive:hover ul.dropdown li a {border: none;background: none;display:block;text-align:center;height:30px;line-height:30px;border-bottom:0px solid;width:113px;} ` und das Advanced menu: [code]{function name=categories\_top level=0}

{foreach from=$categories item=category} - {$category.name} {if $category.sub} {call name=categories\_top categories=$category.sub level=$level+1} {/if}  
{/foreach} {/function}

- [{se name=‚IndexLinkHome‘}Home{/se}]({url controller=‚index‘} „{s name=‚IndexLinkHome‘}{/s}“)  
{foreach from=$sAdvancedMenu item=sCategory} {if !$sCategory.hidetop} - {$sCategory.description} {if $sCategory.sub} {call name=categories\_top categories=$sCategory.sub} {/if}  
{/if} {/foreach}  
[/code] nun hbae ich das Problem das ich gerne Unter der 2 Ebene („Unter-Kategorie“) noch eine Kategorie anlegen möchte. Leider wird diese nicht angezeigt und ich weiß nicht genau warum. Mein Ziel ist es das die Navigation so Ähnlich aussieht wie bei der Shopware 5 Navigation. Bedeutet das die 2. Ebene etwas dicker da steht und darunter dann die 3.ebene wie hier: [http://shopware5.alphabitonline.de/](http://shopware5.alphabitonline.de/) [http://www.paper-markt.de/](http://www.paper-markt.de/) ich hoffe das jemand eine Idee hat oder meine Fehler findet 😉 vielen Dank

---

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [11. Mai 2015 um 13:36 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/2 "2015-05-11T13:36:03Z")

</div>

gibt es keinen der eine Idee hat?

---

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [11. Mai 2015 um 15:16 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/3 "2015-05-11T15:16:26Z")

</div>

ok die 3 Ebene wird nun angezeigt aber leider in eine falschen Darstellung. Es öffnet sich ein weitere Box, aber soll direkt in der ersten Box mit angezeigt werden. Eigentlich sollte jetzt nur ein Eintrag fehlen, dass die Kategorie gleich mit angezeigt werden soll und nicht in einer extra Box. jemand einen Idee?

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. Mai 2015 um 15:22 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/4 "2015-05-11T15:22:56Z")

</div>

Habe gerade keine Shopware 4 Installation hier. Aber was genau gibt denn die Variable $sCategory aus ? [code]

```
{var\_dump($sCategory)}

```

[/code] var\_dump innerhalb der foreach Schleife.

---

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [11. Mai 2015 um 15:23 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/5 "2015-05-11T15:23:59Z")

</div>

wie genau meinst du das jetzt

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. Mai 2015 um 15:31 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/6 "2015-05-11T15:31:07Z")

</div>

Den var\_dump Schnippsel in das Menu Template packen in die foreach Schleife. Die Variable gibt dann alle verfügbaren Werte aus.

---

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [11. Mai 2015 um 15:43 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/7 "2015-05-11T15:43:54Z")

</div>

wenn ich das mache bekomme ich so viele angaben die willst du bestimmt nicht alle haben oder ich habe den schnipsel falsch gesetzt.

---

<div class="post-metadata">

**Author:** ![Denny](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@Denny](https://forum.shopware.com/u/Denny)\
**Post date:** [11. Mai 2015 um 15:48 UTC](https://forum.shopware.com/t/erweitertes-menu-3-ebene-wird-nicht-angezigt/27106/8 "2015-05-11T15:48:16Z")

</div>

so sieht es jetzt aus: [http://prntscr.com/73zvgt](http://prntscr.com/73zvgt) und das is ein Auszug aus deinem Befehl: `int(172) ["parentId"]=\> int(139) ["name"]=\> string(16) "Main-Kategorie 1" ["position"]=\> int(0) ["metaKeywords"]=\> NULL ["metaDescription"]=\> string(0) "" ["cmsHeadline"]=\> string(0) "" ["cmsText"]=\> string(0) "" ["active"]=\> bool(true) ["template"]=\> string(24) "article\_listing\_4col.tpl" ["blog"]=\> bool(false) ["path"]=\> string(5) "|139|" ["showFilterGroups"]=\> bool(true) ["external"]=\> string(0) "" ["hideFilter"]=\> bool(false) ["hideTop"]=\> bool(false) ["noViewSelect"]=\> bool(false) ["changed"]=\> object(DateTime)#989 (3) { `
