jan-vince / smallrecords

OctoberCMS plugin to store and manage records and lists
MIT License
30 stars 11 forks source link

Categories component feature request #20

Closed leonaze closed 6 years ago

leonaze commented 6 years ago

Hello, Is it possible that the component Categories "Only with records in list" use record "categories" field to filter active categories ? Thanks.

jan-vince commented 6 years ago

Hi @leonaze , what is your use case for this?

leonaze commented 6 years ago

Hi @jan-vince , I have a list that represent events, event have categories field. On the events page, I need to show all active categories for events list. But when I configure the component categories on events page with restrict to records events, no categories show. I use categories component on another page that respresent associations which have category field an it works well. Thanks.

jan-vince commented 6 years ago

Categories component works only with main categories (the one selected on Info tab in Category select box).

snimek obrazovky 2018-05-08 v 17 18 57

But you need to work with multi-categories on Categories tab, right?

I have added new option Use multi-categories to version 1.11.0.

snimek obrazovky 2018-05-08 v 18 22 32

When checked, categories from Categories tab are used so you can decide whether single-category or multi-categories are used.

I only wish to have more time to make a better documentation :)

leonaze commented 6 years ago

Hi @jan-vince , Really nice ! I will try next week because I am on vacation but great plugin and awesome support. Thanks.

jan-vince commented 6 years ago

You are welcome!