Exclude categories from search dropdown

  • Ute Kuhlmann
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 16 hours ago #175118 by Ute Kuhlmann
Exclude categories from search dropdown was created by Ute Kuhlmann
Hello,

in my menu item "Category - Default Layout" the search function above lists all available categories.

I excluded some (e.g. Räuber) from being listet. But it still is displayed in the search dropdown field. How can I exclude it from being listed there?

Thanks in advance - best regards
Ute

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

More
3 days 6 hours ago #175122 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Exclude categories from search dropdown
Hello

Currently, that categories filter dropdown will list all categories. If you want to exclude certain categories from being listed, please look at the file components/com_eventbooking/themes/default/common/search_filters.php and try to do necessary modification. Once it is completed, please move the modified file to template override so that the change won't be lost when you update to future releases of the extension

BTW, not sure where do you exclude categories?

Tuan

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

  • Ute Kuhlmann
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 hours 23 minutes ago #175161 by Ute Kuhlmann
Replied by Ute Kuhlmann on topic Exclude categories from search dropdown
Hello Tuan,

thanks!

I found a workaround for that problem now: Just implemented a second category. Now I can separate the two purposes of use by the second category.

Means: I have one default list view with events of category 1 (search options don't show category selection anymore - no problem, it's not needed here) - and a second calendar, which only shows all events of categories, which have additionally category 2.

Best regards
Ute

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

More
17 hours 20 minutes ago #175162 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Exclude categories from search dropdown
Great Ute. I'm glad you come up with a solution

Regards,

Tuan

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