Exercise 1.6: Configure the related links menu block

The last step is to configure the new menu block.

  1. Go to StructureBlock layout and find the Related Links block. Click Configure.

  2. Configure the Title. We’ll leave it at the default, but this is where you can:

    • Enter a new title.

    • Unselect the Display title checkbox to remove the block title.

  3. In the Visibility settings you’ll notice options for:

    • Pages - show or hide the block on specific pages.

    • Content Types – display the block alongside specific content types.

    • Roles – display the block to specific roles.

You’ll often need to alter a block’s Pages visibility settings. For this exercise, we want the Related Links menu to appear only on the About us page we created earlier, and the homepage of our site.

  1. Under PagesShow for the listed pages, enter the URL paths of the pages that we want to display the block, e.g. /about-us-0

  2. On a new line in the Pages text area, enter <front>. This will ensure your Related Links menu block is displayed on the front (home) page of your site.

  3. Click Save block.

The Related Links menu will only be displayed on the front and About us pages.

Last updated