Jump to content

карта сайта в footer


Recommended Posts

Не получается вывести последний столбик карты сайта "страницы" в footer

 

Ввывожу как и в sitemap.tpl

 

<div class="extra_footer">

<h3>{l s='Страницы'}</h3>

<ul>

{if isset($categoriescmsTree.children)}

{foreach from=$categoriescmsTree.children item=child name=sitemapCmsTree}

{if (isset($child.children) && $child.children|@count > 0) || $child.cms|@count > 0}

{include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child}

{/if}

{/foreach}

{/if}

{foreach from=$categoriescmsTree.cms item=cms name=cmsTree}

<li><a href="{$cms.link|escape:'htmlall':'UTF-8'}" title="{$cms.meta_title|escape:'htmlall':'UTF-8'}">{$cms.meta_title|escape:'htmlall':'UTF-8'}</a></li>

{/foreach}

{if $display_store}<li><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores'}">{l s='Our stores'}</a></li>{/if}

<li class="last"><a href="{$link->getPageLink('contact-form.php', true)}">{l s='Contact'}</a></li></ul>

</div>

 

Где ошибка?

Edited by Riva (see edit history)
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...