hadimalik12345hadimalik12345 MemberComments: Received thanks: 0 Member since: March 29

I tried to add a content navigation menu using smarty(Foo Tab) but i am not able to see it happening. What am i doing wrong? because i have also double check the code but no luck. please help me out? 
I am using vagrant machine along with shopware. please let me know any possible solution if there's any. Thanks

This is code:

{extends file="parent:frontend/detail/tabs.tpl"}

{block name="frontend_detail_tabs_navigation_inner"}
    {$smarty.block.parent}

    {block name="frontend_detail_tabs_foo"}
        <a
                href="#"
                class="tab--link"
                title="Foo"
                data-tabName="foo">
            FOO
        </a>
    {/block}
{/block}


{block name="frontend_detail_tabs_content_inner"}
    {$smarty.block.parent}
    <div class="tab--container">

        <div class="tab--header">
            <a href="#" class="tab--title" title="foo">Foo</a>
        </div>
        <div class="tab--preview">
            <p>Foo preview</p>
        </div>
        <div class="tab--content">
            <p>Foo Content</p>
        </div>

    </div>
{/block}

This is output after uploading to m server. I expect that there would be a Foo tab along with description tab but no luck.
image

Answers

Sign In or Register to comment.