codefog/contao-news_categories

4.13.*: Defining reference page (Root) results in categories not being rendered

Closed this issue · 10 comments

I would like to define a category reference on a page. I have activated the “Reference category (root)” option and selected a category. But then the categories are no longer rendered.
My goal is to have a specific category automatically preselected when this page is called up,

This module is integrated on a page with the news list module
sorry, it is in german
Bildschirmfoto vom 2024-08-29 21-32-22

You need to post your category tree.

Hi @fritzmg,
the category tree
Bildschirmfoto vom 2024-08-30 13-15-54

and here i included the modules
Bildschirmfoto vom 2024-08-30 13-16-17

the category tree

That's your site structure, not the category tree.

@fritzmg
you mean this?
Bildschirmfoto vom 2024-08-30 13-33-54

Yes. You have set the reference page to "Alle". This is why you are not seeing any categories, as "Alle" has no sub categories.

ok, got it, thank you! But how it is possible to redirect to a specific category per default when entering the url?

I am not sure what you mean. That settings has nothing to do with URL generation.

For general questions you can also use the Contao Community Forum and Contao Community Slack.

when i enter the blog url i get the categories like this, but none is selected per default
Bildschirmfoto vom 2024-08-30 14-07-01

but i would like to define the "Alle" category when entering the blog url as default to get this
Bildschirmfoto vom 2024-08-30 14-07-13

i tried already to ask at contao community without success, therefor i try to get help here
or should i open an new issue?

This is for bug reports and feature requests.

ok, last question, is this even possible what i try to reach?