How to create Drupal HTML Help Block

Jan 30, 2023

To create an “HTML help” block in Drupal and assign it to appear only on “node/edit” and “node/add” pages, follow these steps:

  1. Navigate to the “Structure” menu and click on the “Blocks” link.
  2. Click the “Add block” button.
  3. In the “Block description” field, enter a name for the block, such as “HTML help.”
  4. In the “Block body” field, enter the HTML content that you want to display in the block.
  5. In the “Visibility” section, click the “Pages” tab.
  6. In the “Pages” field, enter the paths for the pages where you want the block to appear. To show the block on “node/edit” and “node/add” pages, you would enter: 

    node/add/*
    node/*/edit
  7. Click the “Save block” button.

The HTML help block will now appear on the specified pages.

Ready to start?

Contact our CTO or fill out the form

    By entering your email, you agree with our Terms of use and Privacy policy