Optinice
Проверенные
- Сообщения
- 41
- Реакции
- 3
- Баллы
- 145
Добрый вечер, пробовал и так и сяк вставлять код метрики на сайт но не чего не выходит, то ли я что то не так делаю хз вообщем понять не могу.
Будьте добры куда здесь нужно вставить код метрики.
Будьте добры куда здесь нужно вставить код метрики.
Форматирование (BB-код):
<xf:css src="xtr_extra_footer.less" />
<div class="xtr-extra-footer">
<div class="p-footer-inner">
<div class="xtr-extra-footer-row">
<xf:if is="{{ property('xtr_enable_extra_footer_column1') }}">
<div class="block box xtr-aboutUs">
<xf:if is="{$blockId} == 'custom'">
<h3 class="block-minorHeader"><i class="{{ property('xtr_extra_footer_column_icon1') }}"></i> {{ property('xtr_extra_footer_column_title1') }}</h3>
<ul class="block-body">
{{ property('xtr_extra_footer_column1_content') }}
</ul>
<xf:else />
<xf:macro name="footerWidgets" arg-block="1" />
</xf:if>
</div>
</xf:if>
<xf:if is="{{ property('xtr_enable_extra_footer_column2') }}">
<div class="block box xtr-navigation">
<xf:if is="{$blockId} == 'custom'">
<h3 class="block-minorHeader"><i class="{{ property('xtr_extra_footer_column_icon2') }}"></i> {{ property('xtr_extra_footer_column_title2') }}</h3>
<div class="block-body block-row">
<xf:if is="$xf.options.homePageUrl">
<div class="blockLink"><a class="{$baseClass}" href="{$xf.options.homePageUrl}">{{ phrase('home') }}</a></div>
</xf:if>
<div class="blockLink"><a class="{$baseClass}" href="{{ link('forums') }}">{{ phrase('forums') }}</a></div>
<div class="blockLink"><a class="{$baseClass}" href="{{ link('whats-new/posts') }}">{{ phrase('new_posts') }}</a></div>
</div>
<xf:else />
<xf:macro name="footerWidgets" arg-block="2" />
</xf:if>
</div>
</xf:if>
<xf:if is="{{ property('xtr_enable_extra_footer_column3') }}">
<div class="block box xtr-user-navigation">
<xf:if is="{$blockId} == 'custom'">
<h3 class="block-minorHeader"><i class="{{ property('xtr_extra_footer_column_icon3') }}"></i> {{ property('xtr_extra_footer_column_title3') }}</h3>
<xf:else />
<xf:macro name="footerWidgets" arg-block="3" />
</xf:if>
</div>
</xf:if>
<xf:if is="{{ property('xtr_enable_extra_footer_column4') }}">
<div class="block box xtr-user-navigation">
<xf:if is="{$blockId} == 'custom'">
<h3 class="block-minorHeader"><i class="{{ property('xtr_extra_footer_column_icon4') }}"></i> {{ property('xtr_extra_footer_column_title4') }}</h3>
<xf:else />
<xf:macro name="footerWidgets" arg-block="4" />
</xf:if>
</div>
</xf:if>
</div>
</div>
</div>
<xf:macro name="footerWidgets" arg-block="{$block}">
<xf:set var="$blockId" value="{{ property('xtr_extra_footer_column' . $block) }}" />
<xf:if is="{$blockId} == 'custom'">
<div class="block-container">
<div class="block">
<h3 class="block-minorHeader"><i class="{{ property('xtr_extra_footer_column_icon' .$block) }}"></i>{{ property('xtr_extra_footer_column_title' .$block) }}</h3>
<div class="block-body block-row">
{{ property('xtr_extra_footer_column_content' .$block) }}
</div>
</div>
</div>
<xf:elseif is="{$blockId} == 'socialicons'" />
<div class="block-container">
<xf:include template="xtr_social_icons" />
</div>
<xf:elseif is="{$blockId} == 'whatsNewLinks'" />
<xf:macro name="whatsNewLinks" />
<xf:elseif is="{$blockId} == 'ForumStatistics'" />
<xf:widget class="XF:ForumStatistics" />
<xf:elseif is="{$blockId} == 'OnlineStatistics'" />
<xf:widget class="XF:OnlineStatistics" />
<xf:elseif is="{$blockId} == 'sharePage'" />
<xf:widget key="forum_overview_share_page" />
</xf:if>
</xf:macro>
<xf:macro name="whatsNewLinks">
<div class="block-container">
<div class="block">
<h3 class="block-minorHeader"><i class="{{ property('xtr_extra_footer_column_icon' .$block) }}"></i><i class="fas fa-bolt"></i> {{ phrase('whats_new') }}</h3>
<div class="block-body block-row">
<!--[XF:links:start]-->
<div class="blockLink"><i class="fas fa-caret-right"></i> <a class="{$baseClass} {{ $pageSelected == 'new_thread' ? {$selectedClass} : '' }}" href="{{ link('whats-new/posts') }}" rel="nofollow">{{ phrase('new_posts') }}</a></div>
<!--[XF:links:after_thread]-->
<xf:if is="$xf.visitor.canViewProfilePosts()">
<div class="blockLink"><i class="fas fa-caret-right"></i> <a class="{$baseClass} {{ $pageSelected == 'new_profile_post' ? {$selectedClass} : '' }}" href="{{ link('whats-new/profile-posts') }}" rel="nofollow">{{ phrase('new_profile_posts') }}</a></div>
</xf:if>
<!--[XF:links:after_profile_post]-->
<xf:if is="$xf.options.enableNewsFeed">
<xf:if is="$xf.visitor.user_id">
<div class="blockLink"><i class="fas fa-caret-right"></i> <a class="{$baseClass} {{ $pageSelected == 'news_feed' ? {$selectedClass} : '' }}" href="{{ link('whats-new/news-feed') }}" rel="nofollow">{{ phrase('your_news_feed') }}</a></div>
</xf:if>
<div class="blockLink"><i class="fas fa-caret-right"></i> <a class="{$baseClass} {{ $pageSelected == 'latest_activity' ? {$selectedClass} : '' }}" href="{{ link('whats-new/latest-activity') }}" rel="nofollow">{{ phrase('latest_activity') }}</a></div>
</xf:if>
</div>
</div>
</div>
</xf:macro>
Последнее редактирование: