A
A
Artur Badretdinov2014-04-22 21:45:02
LiveStreet
Artur Badretdinov, 2014-04-22 21:45:02

How to add breadcumbs to livestreet cms?

Here is such an appearance, the main thing is only on the plugin pages.
Home >> job >> Resume

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2020-04-02
Sayk @PiSaiK

In the template file www/probuhlo.ru/templates/skin/TEMPLATE_NAME/topic_part_header.tpl
Add

{if !$bTopicList}
    <ul class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a href="{cfg name='path.root.web'}" itemprop="item">
          <span itemprop="name">Главная</span>
        </a>
        <meta itemprop="position" content="1" />
        <span class="separator">→</span>
      </li>
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a href="{$oBlog->getUrlFull()}" class="topic-blog" itemprop="item">
          <span itemprop="name">{$oBlog->getTitle()|escape:'html'}</span>
        </a>
        <meta itemprop="position" content="2" />
        <span class="separator">→</span>
      </li>
      <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
        <a href="{$oTopic->getUrl()}" itemprop="item">
          <span itemprop="name">{$oTopic->getTitle()|escape:'html'}</span>
        </a>
        <meta itemprop="position" content="3" />
      </li>
    </ul>
  {/if}

And be sure to clear the compilation of templates. Design to your liking

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question