news icon indicating copy to clipboard operation
news copied to clipboard

category menu showing always all categories

Open Uhradone opened this issue 5 years ago • 4 comments

Bug Report

Current Behavior In the plugin "Category Menu" - if you unmark some categories they are shown in FE anyway.

Expected behavior/output Only show the marked categories in the menu in FE

Environment

  • TYPO3 version: 9.5.5
  • news version: 7.1.0
  • Is your TYPO3 installation set up with Composer (Composer Mode): no
  • OS: Linux

Possible Solution

Additional context disabling the category completely will help

Bildschirmfoto 2019-03-23 um 22 54 05

Uhradone avatar Mar 23 '19 22:03 Uhradone

the current behaviour will return not only the given categories but also the child categories. you should be able to create a check in the template to filter the desired ones.

I keep the issue open as feature

georgringer avatar Apr 08 '19 19:04 georgringer

Hello Georg thank you for the reply.

But in this case it is not a decision the BE-user can make. You have to alter the template with every change. In my case the customer wants to decide what to offer and what not, depending on seasonal changes. But as long as the "complete disable" workaround functions it's fine.

Uhradone avatar Apr 09 '19 06:04 Uhradone

Maybe the customer wants to sponsor a flag so that the child categories are not processed? disabling the categories is IMO not the way to go as those could be used somewhere else as well

georgringer avatar Apr 09 '19 06:04 georgringer

In this case the project is unfortunately already sealed. But we had developers invovled and payed them out of our own budget. We try to give back where we can. Site with the for the time beeing reduced menu: https://www.gesitrel.ch/download

Uhradone avatar Apr 09 '19 06:04 Uhradone

closing the feature request because it can be achieved by either change the templates or use one of the signals, events

georgringer avatar Aug 23 '22 18:08 georgringer