Show all items directly [K2 Filter & Search module]

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

#
Hi,

I would like to know how do you show all items directly when you are in the page without clicking on the search button first like in your demo "K2 Filter & Search module Demo 1"?

Thanks you,

Jérémie

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

#
Hello, Jérémie.

Thanks for your post.

It is "K2 Categories" used as menu item for initial page (K2 » Item listings » Categories).
You can create it in Joomla menu items -> New- > Select menu type -> K2 -> Categories. Then, in Options tab select categories which items you want to show. Then, you just need to assign filter module for this menu item.

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

#
Thanks for the quick answer.

Ok now the category's items appears when we come the first time on the page but when we click on the search button, those items dont disappear, so we have on the page both the results + the category's items.

How do you do to hide the category's items after clicking the search button and just display the items results.

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

#
Ok, seems you using ajax search type. Then, you need to adjust 'Ajax container' module parameter and fill in your site template's main content area's id or class, e.g. #content

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

#
Thanks you very much, it's working!