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

Support archive

Search redirects to homepage when using Publisher multilingual plugin

GMJ 23 Nov 2015 12:49 question, complete

Hi Low

I've hit a bit of a wall with Low Search when using Boldminded's Publisher plugin. I've tried to work with Brian to resolve it but I'm still stuck.

I've purchased the "Publisher Low Search" plugin hoping it would help but it hasn't improved the issue.

When in Chinese "mode" and doing a search on any page of the website using the search in the top right of the site it will redirect to the homepage.

EXAMPLE ENGLISH SEARCH FORM
http://j.mp/1PJKKD3

EXAMPLE CHINESE SEARCH FORM
http://j.mp/1MxoFUt

This is the form template:

{exp:low_search:form form_id="searchForm" collection="pages" search_mode="all" result_page="search/results"}

>
{/exp:low_search:form}

I also noticed that the {absolute_results} tag has stopped working since Publisher was installed. This test site is basically a clone of http://j.mp/1MxoVmy (which works fine) with the addition of multilingual support.

Any advice you could offer would be greatly appreciated.

Replies

  1. Low 23 Nov 2015 13:01

    Looks like Publisher changes the base site URL to domain.com/cn, which EE uses as the action="" attribute of the generated <form>-tag.

    Therefore, the ACT is not being caught by EE, never triggering the search. I reckon this will happen with a native search tag as well.

    Comes down to Publisher altering some stuff, so Brian should know best how to solve it for you. Of course, he can contact me if he so wishes.

  2. GMJ 23 Nov 2015 13:23

    Ok. Thanks. Any ideas on why the {absolute_results} tag has stopped working since Publisher was installed?

  3. Low 23 Nov 2015 13:30

    LS calls the channel:entries tag behind the scenes, which takes care of the {absolute_results}. You'll have to make sure pagination is enabled (and the {paginate} var pair is present in the tag) in order to make it work.

    You can check if the var works in an native channel:entries tag. If the same issue occurs, it's not LS doing.