How can I limit related entries to a specific category, while matching the relation on specific category groups?
Obviously this would be the code for it
<ul>
{exp:channel:entries related_categories_mode="yes" channel="news" custom_fields="yes" limit="10" category="16" category_group="7|1" uncategorized_entries="no"}
<li>
<a href="/{language_code}/solutions/nieuws/detail/{news_url_title_{language_code}}/{entry_id}">{news_title_{language_code}}</a>
</li>
{/exp:channel:entries}
</ul>
but the category parameter is not supported with using related_categories_mode.
EDIT - additional clarification:
Category group is used to make sure that only in entries that have the same categories in those groups are presented as related entry.
E.g: the news channel has 5 category groups, but only 2 of them are relevant for the relationship, the others are e.g. audience segment (partner, customer, supplier) or message type (press release, item, blog)
In this case only the related entries need to be shown if their audience segment is 'customer' (multiple can be selected)
category_id
, then what purpose does usingrelated_categories_mode
(or even specifying acategory_group
) serve? Maybe I'm not understanding the question.