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

Support archive

result_page= parameter incompatible with query= ?

Daniel Howells 1 Mar 2014 09:09 question, complete

I may be missing something here, but I notice that you can't seem to specify a result_page and the query in exp:low_search:form? I need this since the result page needs to be dynamic:

{exp:low_search:form result_page="profiles/{segment_2}" query="{segment_3}"}

Thanks,
Dan.

Replies

  1. Low 1 Mar 2014 10:22

    That code should work, actually. How are you finding it is "incompatible"? Also, what are your EE, PHP and LS versions?

  2. Daniel Howells 2 Mar 2014 16:32

    EE 2.7.3
    PHP 5.5.3
    LS 3.1.1

    Incompatible, as in when I specify a result_page= and a query=, the result_page= is ignored. If I remove the query=, the query is ignored.

  3. Low 2 Mar 2014 17:03

    I think I see what you mean now. As a workaround, can you try and add a hidden input field in your form, like so:

    <input type="hidden" name="result_page" value="search/{segment_2}">

  4. Daniel Howells 2 Mar 2014 17:09

    Super - that works well; thanks.