Jump to content
  • 0

Wyrzucenie nasze sklepy z strony


coobosiek

Question

5 answers to this question

Recommended Posts

  • 0

Najprościej to zrobić w szablonie, w pliku themes/{nazwa używanego szablonu}/templates/cms/_partials/sitemap-nested-list.tpl

{block name='sitemap_item'}
  <ul{if !empty($is_nested)} class="nested"{/if}>
    

    {foreach $links as $link}
      {if !in_array($link.id,['stores-page'])}
      <li>
        <a id="{$link.id}" href="{$link.url}" title="{$link.label}">
          {$link.label}
        </a>
        {if !empty($link.children)}
          {include file='cms/_partials/sitemap-nested-list.tpl' links=$link.children is_nested=true}
        {/if}
      </li>
      {/if}
    {/foreach}
  </ul>
{/block}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...