XF 2.2 Отключить Titlebar

Версия XenForo
2.2.8

Gnrdt

Проверенные
Сообщения
97
Решения
1
Реакции
18
Баллы
35
У меня форумы считаются главной страницей и меня люто напрягает этот блок.
1696615477021.png
Но он необходим на остальных страницах.

Что тут изменить, чтобы этот блок показывался на ВСЁМ форуме, кроме главной страницы /forums? Кусок из контейнера:
Код:
<xf:comment> --- Titlebar --- </xf:comment>
<xf:set var="$uix_titlebar__component">
    <xf:if is="!{$uix_hidePageTitle} || ( {$pageAction} && !property('uix_pageActionBreadcrumb') && (!property('uix_removePageAction') || {{ !in_array({$template}, ['forum_list', 'forum_new_posts', 'thtopics_forum_newest_posts', 'thtrending_trending_view', 'thtopics_forum_latest_threads', 'thtopics_topic_list']) }} )
               )">
        <xf:if is="$headerHtml is not empty">
            <div class="p-body-header">
                <div class="pageContent">
                    {$headerHtml|raw}
                </div>
            </div>
            <xf:elseif contentcheck="true" />
            <div class="p-body-header">
                <div class="pageContent">
                    <xf:contentcheck>
                        <xf:if contentcheck="true">
                            <div class="uix_headerInner">
                                <xf:contentcheck>
                                    <xf:if contentcheck="true">
                                        <div class="p-title {{ $noH1 ? 'p-title--noH1' : '' }}">
                                            <xf:contentcheck>
                                                <xf:if is="!$noH1">
                                                    <h1 class="p-title-value">{$h1}</h1>
                                                </xf:if>
                                            </xf:contentcheck>
                                        </div>
                                    </xf:if>

                                    <xf:if is="$description is not empty">
                                        <div class="p-description">{$description}</div>
                                    </xf:if>
                                </xf:contentcheck>
                            </div>
                        </xf:if>
                        <xf:if contentcheck="true">
                            <div class="uix_headerInner--opposite">
                                <xf:contentcheck>
                                    <xf:if is="!property('uix_pageActionBreadcrumb') && (!property('uix_removePageAction') || ({$template} != 'forum_list') )">
                                        <xf:if contentcheck="true">
                                            <div class="p-title-pageAction"><xf:contentcheck><xf:pageaction /></xf:contentcheck></div>
                                        </xf:if>
                                    </xf:if>
                                    <xf:macro name="uix_sidebarTrigger__component" arg-content="{$uix_sidebarTrigger__content}" arg-location="titlebar" />
                                </xf:contentcheck>
                            </div>
                        </xf:if>
                    </xf:contentcheck>
                </div>
            </div>
        </xf:if>
    </xf:if>
</xf:set>


<xf:macro name="uix_titlebar__component" arg-location="!" arg-content="!">
    <xf:if is="property('uix_titlebarLocation') === {$location}">
        {$content}
    </xf:if>
</xf:macro>
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу