Thanks for the further patient feedback.
Yes, exactly: The component is intended to represent a post listing in which tags in the URL can be used to set whether a specific category should be shown and how it should be sorted. If no category is defined in the URL, it should fall back to a default category to be set via the ACF field.
This query string with parameters results in the correct posts, regardless of whether I use GC-B-20 or gc-b-20 in text form directly as a fallback:
category_name={{dc:url:param key='cat' fallback='GC-B-20'}}&orderby={{dc:url:param key='order' fallback='rand'}}&posts_per_page={{dc:param:anzahl}}
Now I just want to replace the fixed entry GC-B-20 with the parameter {{dc:param:kategorie}}. And its initial value should be given by the ACF field {{dc:acf:user_field field=‘cat_default’ user=‘1’}}. The query string you last formulated is in principle exactly what I want:
category_name={{dc:url:param key='cat' fallback='{{dc:param:kategorie}}'}}&orderby={{dc:url:param key='order' fallback='rand'}}&posts_per_page={{dc:param:anzahl}}
…and as initial parameter value for {{dc:param:kategorie}}
then "initial": "{{dc:acf:user_field field='cat_default' user='1'}}"
But the query string will not yet produce an output, since the '{{dc:param:kategorie}}'
does not seem to be accepted as a fallback. And neither if I set the initial paramater value of kategorie
as:"initial": "{{dc:acf:user_field field='cat_default' user='1'}}"
or directly as "GC-B-20"
or "gc-b-20"
So “might be something like” remains my problem: It doesn’t work the way you proposed and I can’t find the right solution for integrating a parameter or the ACF field as fallback into the query string.