codefog / contao-news_categories

Extend the Contao news module with categories
MIT License
31 stars 25 forks source link

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

Closed magic-77 closed 2 months ago

magic-77 commented 2 months ago

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

fritzmg commented 2 months ago

You need to post your category tree.

magic-77 commented 2 months ago

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

fritzmg commented 2 months ago

the category tree

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

magic-77 commented 2 months ago

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

fritzmg commented 2 months ago

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

magic-77 commented 2 months ago

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

fritzmg commented 2 months ago

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.

magic-77 commented 2 months ago

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?

fritzmg commented 2 months ago

This is for bug reports and feature requests.

magic-77 commented 2 months ago

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