kricore/Advanced-templating-with-K2

Restricting mod_k2_tools to searching just one category

Closed this issue · 2 comments

In the past we could modify the form action of mod_k2_tools search.php to a specific category.

For example, I could restrict search to this itemID with this action:

This no longer works in V3 - do you know if there's a workaround yet?

This is posting to a specific menu item, not a category.
In version 3 you can create a new search menu item so this is not needed anymore.
Finally the options to search into specific categories is located in mod_k2_tools' parameters.

Understood re: menu item code.

I can see the K2 Search option when creating a new menu item, but there is no option to select a menu item:

https://www.dropbox.com/s/q2jevyfpfstudhw/Screenshot%202015-09-23%2006.41.16.png?dl=0

I'll address the category restriction in mod_k2_tools over on the K3 dev github as this isn't working.