XF 2.2 Popular Tags Widget


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 ?

<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:if is="$xf.options.enableTagging">
                    <a href="{{ link('tags') }}" class="tabs-tab is-active">{{ phrase('search_tags') }}</a>
        <div class="block-body">
            <xf:tokeninputrow name="tags" value="{$tags}" href="{{ link('misc/tag-auto-complete') }}"
                label="{{ phrase('tags') }}" />
        <xf:submitrow icon="search" />
Top Bottom