1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Controlling snippet size on tag page?

Discussion in 'XenForo Questions and Support' started by vij, Sep 7, 2015.

  1. vij

    vij Active Member

    Can we control the snippet length on tag pages ?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You would need to edit the various search_result_* templates and edit the snippet length there.
    This for example is the search_result_thread template:
    <a href="{xen:link threads, $thread}">{xen:helper snippet, $post.message, 150, {xen:array 'term={$search.search_query}', 'emClass=highlight', 'stripQuotes=1'}}</a>
    Change the 150 value to suit.
    vij likes this.

Share This Page