All extensions are free now. Because it was coded by Russians.

K2 Filter and Search module – what are the Operators and can i translate them

Please Log in or Create an account to join the conversation.

#
Hello,
can you tell me which operators to use in the search to narrow down the search results?
And can I translate the terms? I mean, for example, if I search with AND, I would prefer to use the German "UND" as an operator on a German page.
I have not found anything in the language files. Nor have I found anything here in the forum or in the documentation.

Best regards Nico

Please Log in or Create an account to join the conversation.

#
Hello, Nico.

You can use AND, OR operator in the Keyword search.

It is not possible to translate, but we can add an alias in the core files next release if needed.

Please Log in or Create an account to join the conversation.

#
Hello,
I have another question about the search. Is it possible to set that only the exact term is searched? For example, if you search for the term "Bottle" is also WaterBOTTLEs in the results. So also terms in which the search term is included.
But only Bottle should be displayed.

Could I force this for example about upper and lower case or do you have another suggestion?

Greetings Nico

Please Log in or Create an account to join the conversation.

#
Hello, Nico.

Sorry, it is possible only with the core file modification.
You need to modify this file - plg_k2filter\K2Filter\models\itemlistfilter.php

Then find:
$query .= " OR (i.title REGEXP '^.*{$term}.*$')";

And replace with:
$query .= " OR (i.title = '{$term}')";

The same with introtext and fulltext fields.

Please Log in or Create an account to join the conversation.

#
Hello, thank you for the quick reply. This works as requested.

Unfortunately, I have encountered another problem.
We are using the K2 Filter and Search module in two places on the client website. In the normal search, the items are output with the generic setting.
In another place we want the results to be displayed as generic table. But here we have the problem that we have two different extra fields groups and in the table view only the content of one of the extra field groups is displayed.
The contents of the second extra field group are not displayed and the <td></td> remain empty.
In K2 all extra fields are set to show and are displayed in the generic view without any problems.

I hope you can help me.

Greetings Nico

Please Log in or Create an account to join the conversation.

#
Hello, Nico.

Please, contact me via email - This email address is being protected from spambots. You need JavaScript enabled to view it.
I will need more details for debug it, page link, ftp access.

Please Log in or Create an account to join the conversation.

#
Hi, I sent you an email yesterday with the data you need, if you need anything else just get in touch.