Quantcast
Channel: Themes & Design - Shopware Community Forum
Viewing all articles
Browse latest Browse all 1971

topbar-navigation.tpl erweitern doppelter Anzeige service/hilfe

$
0
0

Hallo,

ich habe ein Template gekauft und wollte gerne den topbar-navigation.tpl mit einem internen link (text link) erweitern.

Als test zwecke habe die orginal Datei ohne Änderung genommen und in meinem theme ordner eingefügt, danach wird oben im Topbar service/hilfe link nebeneinander und doppelt gezeigt.

Ich habe nur die orginale vom gekauften thme in mein erstellten Theme kopiert ohne eine Änderung aber trotzdem ein doppelterEintrag bei Service/Hilfe link.
Ist das ein bug ?

Das ist die orginal Datei vom gekauften Theme :

{extends file='parent:frontend/index/topbar-navigation.tpl'}

{block name="frontend_index_checkout_actions_service_menu" prepend}
    <div class="navigation--entry entry--account" role="menuitem">
        <div href="{url controller='account'}" class="entry--link js--account">
            <i class="icon--cog"></i> {s namespace='frontend/index/checkout_actions' name='IndexLinkMyAccount'}Mein Konto{/s}
        </div>
    </div>
    <div class="navigation--entry entry--note" role="menuitem">
        <a href="{url controller='note'}" class="entry--link">
            {s namespace='frontend/index/checkout_actions' name='IndexLinkNotePad'}Merkzettel{/s}
        </a>
        {if $sNotes|@count > 0}
            <span class="badge notes--quantity">{$sNotes|@count}</span>
        {/if}
    </div>
    {action module=widgets controller=StcomDashone action=index}
{/block}

{* Service / Support drop down *}
{block name="frontend_index_checkout_actions_service_menu"}
    <div class="navigation--entry entry--service has--drop-down" role="menuitem" aria-haspopup="true"
         data-drop-down-menu="true">
        {s namespace='frontend/index/checkout_actions' name='IndexLinkService'}{/s}

        {* Include of the widget *}
        {block name="frontend_index_checkout_actions_service_menu_include"}
            {action module=widgets controller=index action=menu group=gLeft}
        {/block}
    </div>
{/block}

 

Wenn ich das gleiche so wie es ist nehme und ohne eine Änderung in meiner theme struktur reinkopiere dann bekomme oben Service/Hilfe dopppelt gezeigt ist das normal ?

 


Viewing all articles
Browse latest Browse all 1971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>