repeated {low_search_keywords}
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
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.
Francesco Pensabene 18 Dec 2015 10:49
thanks!