First, I wish you a happy new year.
I need your help because I think I do not correctly understand how the referencing across collections work.
Let me elaborate :
We have 1 website with a blog. Until now, we were publishing articles on 1 category only.
So we had:
- Category A
- Article A.1
- Article A.2
CMS-side, we have 3 collections:
- 1 Collection list for authors
- 1 Collection list for Categories (with only 1 entry as the content we were publishing so far was related only to one category (Category A))
- 1 Collection list for Articles (this one includes 2 multi-referenced fields (one being the authors, the second one being the categories)). Each Article’s collection page includes a reference to the category and few references to the author.
So, we have the following structure mydomain.com/blog/category-A/article-A.1
- mydomain.com/blog/category-A/article-A.1 —> The article
- mydomain.com/blog/category-A → The category page with all the articles published for Category A
- mydomain.com/blog → does not exist at the moment
Now, we are starting to write on other topics. So, we need to create
- Category B
- Articles B.1
- Articles B.2
So far, I have created an entry for Category B in the Categories Collection list. And I added Articles B.1 and Articles B.2 in my article collection list and link it to the Category B.
But, it looks like I can’t have the collection page of categories displaying only the articles related to the category. Meaning:
- mydomain.com/blog/category-A → displays articles from category A
mydomain.com/blog/category-B → also displays articles from category A
And, if on the Category Collection Page, I add a filter, it changes for all entries of the Category Collection Page (thus the issue above).
So, how do you make sure that the Category Collection Page of the Category B only pulls out Articles attributed to Category B (from the Article Collection List) on the page mydomain.com/blog/category-B ?
I’m sure I’ve missed something basic somewhere, somehow. But I can’t figure out what…