Black Horse Off Road
Member
Hello,
I am trying to add popular tags widget on home page, it turns out that I added search widget instead of adding the Popular tags.
is there anyway to do that?
I got the code from tag_search template
and why tags pages is not indexed ?
I am trying to add popular tags widget on home page, it turns out that I added search widget instead of adding the Popular tags.
is there anyway to do that?
I got the code from tag_search template
Search tags
forum.blackhorseoffroad.com
and why tags pages is not indexed ?
Code:
<xf:form action="{{ link('tags') }}" class="block" ajax="true">
<div class="block-container">
<h2 class="block-tabHeader tabs hScroller" data-xf-init="h-scroller">
<span class="hScroller-scroll">
<xf:foreach loop="$tabs" key="$tabType" value="$tab">
<a href="{{ link('search', null, {'type': $tabType}) }}" class="tabs-tab{{ $type == $tabType ? ' is-active' : '' }}">{$tab.title}</a>
</xf:foreach>
<xf:if is="$xf.options.enableTagging">
<a href="{{ link('tags') }}" class="tabs-tab is-active">{{ phrase('search_tags') }}</a>
</xf:if>
</span>
</h2>
<div class="block-body">
<xf:tokeninputrow name="tags" value="{$tags}" href="{{ link('misc/tag-auto-complete') }}"
label="{{ phrase('tags') }}" />
</div>
<xf:submitrow icon="search" />
</div>
</xf:form>