whassell20
Member
For some reason it is not letting me remove items from the header menu.
I figured it out but how do I move selections from the menu under the header? Like Whats New and Latest PostsHello, How do you proceed for that ?
Yes I know, it only removes the header options not the sub menuYou can control the header navigation in your Admin CP > Setup > Navigation > Public Navigation
Thanks. Is it also possible to remove the navigation under the breadcrumb?You have to unselect them and they will not be displayed anymore.
Yes see hereThe navigation under the breadcrumbs ?
Remove New Posts, New Profile Posts etc from that area. I want to move that bar completelySorry, i don't understand what you want to do.
whats_new_wrapper
find and remove or comment out the following:<xf:macro name="links" arg-pageSelected="!" arg-baseClass="!" arg-selectedClass="!">
<a class="{$baseClass} {{ $pageSelected == 'overview' ? {$selectedClass} : '' }}" href="{{ link('whats-new') }}">{{ phrase('whats_new') }}</a>
<!--[XF:links:start]-->
<a class="{$baseClass} {{ $pageSelected == 'new_thread' ? {$selectedClass} : '' }}" href="{{ link('whats-new/posts') }}" rel="nofollow">{{ phrase('new_posts') }}</a>
<!--[XF:links:after_thread]-->
<xf:if is="$xf.visitor.canViewProfilePosts()">
<a class="{$baseClass} {{ $pageSelected == 'new_profile_post' ? {$selectedClass} : '' }}" href="{{ link('whats-new/profile-posts') }}" rel="nofollow">{{ phrase('new_profile_posts') }}</a>
</xf:if>
<!--[XF:links:after_profile_post]-->
<xf:if is="$xf.options.enableNewsFeed">
<xf:if is="$xf.visitor.user_id">
<a class="{$baseClass} {{ $pageSelected == 'news_feed' ? {$selectedClass} : '' }}" href="{{ link('whats-new/news-feed') }}" rel="nofollow">{{ phrase('your_news_feed') }}</a>
</xf:if>
<a class="{$baseClass} {{ $pageSelected == 'latest_activity' ? {$selectedClass} : '' }}" href="{{ link('whats-new/latest-activity') }}" rel="nofollow">{{ phrase('latest_activity') }}</a>
</xf:if>
<!--[XF:links:end]-->
</xf:macro>
Open the template,whats_new_wrapper
find and remove or comment out the following:
HTML:<xf:macro name="links" arg-pageSelected="!" arg-baseClass="!" arg-selectedClass="!"> <a class="{$baseClass} {{ $pageSelected == 'overview' ? {$selectedClass} : '' }}" href="{{ link('whats-new') }}">{{ phrase('whats_new') }}</a> <!--[XF:links:start]--> <a class="{$baseClass} {{ $pageSelected == 'new_thread' ? {$selectedClass} : '' }}" href="{{ link('whats-new/posts') }}" rel="nofollow">{{ phrase('new_posts') }}</a> <!--[XF:links:after_thread]--> <xf:if is="$xf.visitor.canViewProfilePosts()"> <a class="{$baseClass} {{ $pageSelected == 'new_profile_post' ? {$selectedClass} : '' }}" href="{{ link('whats-new/profile-posts') }}" rel="nofollow">{{ phrase('new_profile_posts') }}</a> </xf:if> <!--[XF:links:after_profile_post]--> <xf:if is="$xf.options.enableNewsFeed"> <xf:if is="$xf.visitor.user_id"> <a class="{$baseClass} {{ $pageSelected == 'news_feed' ? {$selectedClass} : '' }}" href="{{ link('whats-new/news-feed') }}" rel="nofollow">{{ phrase('your_news_feed') }}</a> </xf:if> <a class="{$baseClass} {{ $pageSelected == 'latest_activity' ? {$selectedClass} : '' }}" href="{{ link('whats-new/latest-activity') }}" rel="nofollow">{{ phrase('latest_activity') }}</a> </xf:if> <!--[XF:links:end]--> </xf:macro>
OK just let me knowActually, don't do this, it throws server errors. I'll look into it tomorrow if I get a chance.
<xf:if is="property('whatsNewNavStyle') == 'tabs'">
<div class="tabs tabs--standalone">
<div class="hScroller" data-xf-init="h-scroller">
<span class="hScroller-scroll">
<xf:macro name="links"
arg-pageSelected="{$pageSelected}"
arg-baseClass="tabs-tab"
arg-selectedClass="is-active" />
</span>
</div>
</div>
<xf:else />
<xf:sidenav>
<div class="block">
<div class="block-container">
<h3 class="block-header">{{ phrase('whats_new') }}</h3>
<div class="block-body">
<xf:macro name="links"
arg-pageSelected="{$pageSelected}"
arg-baseClass="blockLink"
arg-selectedClass="is-selected" />
</div>
</div>
</div>
<xf:widgetpos id="whats_new_sidenav" />
</xf:sidenav>
<xf:page option="sideNavTitle">{{ phrase('whats_new') }}</xf:page>
</xf:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.