All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

repeated {low_search_keywords}

Francesco Pensabene 17 Dec 2015 19:34 question, complete

HI there,

I'm using this code to get the keywords the user has submitted:

{exp:low_search:results query="{segment_3}" keywords:loose="both" keywords:mode="any" collection="fatture" limit="1" }{low_search_keywords}{/exp:low_search:results}

If I take off the limit="1" i get as many keywords as the search results :-)
Is this the right behaviuour?

thanks
Francesco

Replies

  1. Low 17 Dec 2015 20:01

    Well, yes, that is expected behaviour.

    If you want to display the keywords inside the Results tag, but only once, use a conditional like {if count == 1}{low_search_keywords}{/if}

    If you want to display the keywords outside the Results or Filters tag, use the Keywords tag.

  2. Francesco Pensabene 18 Dec 2015 10:49

    thanks!