We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47562
    • 113 Posts
    Should I be able to use [[+searchValue]] to access the search text from within the noResultsTpl? Keeps returning an empty string; should I be using something else instead?
      • 40045
      • 534 Posts
      Yes, I guess so, try to use [[+query]] instead of [[+searchValue]] in the noresults chunk!
        • 47562
        • 113 Posts
        Quote from: exside at Jun 24, 2014, 06:11 AM
        Yes, I guess so, try to use [[+query]] instead of [[+searchValue]] in the noresults chunk!

        No, that doesn't work either.

        Found that based on the results_found lexicon
        sisea.results_found = [[+count]] Results found for "[[+text]]"

        I think [[+text]] should work; will run with that...

        Thanks!
          • 40045
          • 534 Posts
          Looks like the placeholder is different if results are found or not:

          found: [[+text]] (untested)
          not found: [[+query]]