- Issue created by @DudeWeb
The TBM module doesn't list blocks that aren't placed in any region. To use a block in the TBM configuration (/admin/structure/tb-megamenu), that you don't want to show somewhere else on the page, place it in a Region at /admin/structure/block that is not being printed by your theme.
This is described in the Documentation here at point 2: https://www.drupal.org/docs/contributed-modules/the-better-mega-menu/how... →
You could create a new region called "Hidden Blocks for TBM" or so, and simply don't add it to your TWIG template page.html.twig. For this, just add a new region to your THEMENAME.info.yml as described here: https://www.drupal.org/docs/develop/theming-drupal/adding-regions-to-a-t... →
Then clear the cache and go to /admin/structure/block to place the block in the new region.
Doing so, the block is made available to the TBM module.
- Status changed to Closed: works as designed
8 months ago 1:26pm 28 March 2024 - 🇮🇳India ravi kant Jaipur
I am using same method as suggested by @meder
@DudeWeb
Do you need more help regarding this ticket?
Closing ticket, you may reopen.