You are here

README.txt in Menu Block 8

Same filename and directory in other branches
  1. 6.2 README.txt
  2. 7.3 README.txt
  3. 7.2 README.txt
ABOUT MENU BLOCK
----------------

Like Drupal core, the Menu Block module allows you to create blocks of menu
items. However, Menu Block's blocks are much more configurable than Drupal
core's.

INSTALLATION
------------

You must remove and re-add any existing menu blocks after installing this module.

Currently the module has no effect on existing menu blocks,
see issue: #2787677: Reconfigure core menu blocks to be menu_block blocks
https://www.drupal.org/project/menu_block/issues/2787677


ADDING MENU BLOCKS
------------------

To add new menu blocks:
 1. Install module.
 2. Go to /admin/structure/block.
 3. Click the "Place block" button in the desired region.
 4. Choose a block from the "Menus" category.
 5. In the form that appears, configure the options desired and then click the
    "Save block" button.


CONFIGURING MENU BLOCKS
-----------------------

When adding or configuring a menu block, several configuration options are
available:

Basic Options:

  Title
    The default block title will be the menu name.

  Display title
    Checkbox to have the block title visible or not. If unchecked, the block
    title will remain accessible, but hidden visually.

Menu levels:

  Initial menu level
    The menu will only be visible if the menu item for the current page is at or
    below the selected starting level. Select level 1 to always keep this menu
    visible.

  Maximum number of menu levels to display
    The maximum number of menu levels to show, starting from the initial menu
    level. For example: with an initial level 2 and a maximum number of 3, menu
    levels 2, 3 and 4 can be displayed.

Advanced options:

  Expand all menu links
    All menu links that have children will "Show as expanded".

  Fixed parent item
    Alter the options in “Menu levels” to be relative to the fixed parent item.
    The block will only contain children of the selected menu link.

  Use as title
    Replace the block title with an item from the menu.

HTML and style options:

  Theme hook suggestion
    A theme hook suggestion can be used to override the default HTML and CSS
    classes for menus found in menu.html.twig.

File

README.txt
View source
  1. ABOUT MENU BLOCK
  2. ----------------
  3. Like Drupal core, the Menu Block module allows you to create blocks of menu
  4. items. However, Menu Block's blocks are much more configurable than Drupal
  5. core's.
  6. INSTALLATION
  7. ------------
  8. You must remove and re-add any existing menu blocks after installing this module.
  9. Currently the module has no effect on existing menu blocks,
  10. see issue: #2787677: Reconfigure core menu blocks to be menu_block blocks
  11. https://www.drupal.org/project/menu_block/issues/2787677
  12. ADDING MENU BLOCKS
  13. ------------------
  14. To add new menu blocks:
  15. 1. Install module.
  16. 2. Go to /admin/structure/block.
  17. 3. Click the "Place block" button in the desired region.
  18. 4. Choose a block from the "Menus" category.
  19. 5. In the form that appears, configure the options desired and then click the
  20. "Save block" button.
  21. CONFIGURING MENU BLOCKS
  22. -----------------------
  23. When adding or configuring a menu block, several configuration options are
  24. available:
  25. Basic Options:
  26. Title
  27. The default block title will be the menu name.
  28. Display title
  29. Checkbox to have the block title visible or not. If unchecked, the block
  30. title will remain accessible, but hidden visually.
  31. Menu levels:
  32. Initial menu level
  33. The menu will only be visible if the menu item for the current page is at or
  34. below the selected starting level. Select level 1 to always keep this menu
  35. visible.
  36. Maximum number of menu levels to display
  37. The maximum number of menu levels to show, starting from the initial menu
  38. level. For example: with an initial level 2 and a maximum number of 3, menu
  39. levels 2, 3 and 4 can be displayed.
  40. Advanced options:
  41. Expand all menu links
  42. All menu links that have children will "Show as expanded".
  43. Fixed parent item
  44. Alter the options in “Menu levels” to be relative to the fixed parent item.
  45. The block will only contain children of the selected menu link.
  46. Use as title
  47. Replace the block title with an item from the menu.
  48. HTML and style options:
  49. Theme hook suggestion
  50. A theme hook suggestion can be used to override the default HTML and CSS
  51. classes for menus found in menu.html.twig.