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

Support archive

No results not working in Low Search

Anthony Hubbard 7 Oct 2013 22:17 question, complete

Hey Low,

My no_results tag isn't working.

This is my search form code: http://pastie.org/8385113

And my search results: http://pastie.org/8385111

What am I doing wrong?

Search works fine on keywords that exist but if I put in a keyword that I know doesn't exist (e.g banana) it doesn't load anything inside the exp:low_search:results

Thanks,

Anthony

Replies

  1. Low 7 Oct 2013 22:23

    You probably have the Results tag nested in another tag that uses the no_results conditional.

    Try using {if low_search_no_results} instead.

  2. Anthony Hubbard 7 Oct 2013 22:31

    Hey Low,

    Thanks thats fixed it. I couldn't find that variable in your docs?

  3. Low 7 Oct 2013 22:33

    Correct, it's not documented. I'd recommend using the standard version, and only use this with conflicts (which don't occur that often).