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

Support archive

result_page parameter is being ignored and defaulting to template defined in module settings

Christian Rochford 19 Jun 2020 16:27 question, rejected

I have a number of search forms on my site and I'm defining the template to display the results in each case in the form tag, in some cases this works however in one case its defaulting to the template defined in the module settings

result_page="search/news" works

result_page="search/events" works

result_page="search/courses" redirects to module default "search/results"

I can confirm that all templates exist and I've not set any redirects.

Low Search v6.2.0
EE 5.2.6

Replies

  1. Low 22 Jun 2020 10:59

    It doesn't really make sense from a LS point of view that one works and the other doesn't. LS doesn't check if the page or template exists, but rather just creates the URL and redirects to it.

    You can try and open the browser's debugging tools/inspector, and check the Network tab to see how the request is routed. What does that tell you?

  2. Christian Rochford 24 Jun 2020 13:18

    Hi Low,
    thanks for your reply, I figure this out as a template error on my side, it was an odd one, thanks again!