In this video you'll learn how to:

  • Create a Cookie Consent with Termsfeed Free Cookie Consent Tool
  • Create and add a new content block for your Cookie Consent code in the footer of a Drupal website

Here are the instructions:

  1. Go to our Free Cookie Consent Solution page to create the Cookie Consent code necessary to show the notice banner on your Drupal 10 website.

  2. Log in to the Drupal dashboard. Go to Manage and select Structure:

    TermsFeed Drupal - Manage - Structure

  3. Select Block layout:

    TermsFeed Drupal - Manage - Structure - Block layout

  4. Scroll down to the Footer Bottom block section and click the Place block button next to it:

    TermsFeed Drupal - Manage - Structure - Block layout - Footer Bottom block - Place block

  5. The Place block window opens. Click the "+ Add content block" button:

    TermsFeed Drupal - Manage - Structure - Block layout - Footer Bottom block - Place block - Add content block

  6. The "Add content block" settings editor opens. Add a Block description. It's a required field. For example, we added: "TermsFeed Cookie Consent Solution:"

    TermsFeed Drupal - Manage - Structure - Add content block - Add Block description

  7. Below the Body editor, next to the Text format, open the dropdown menu and select Full HTML.

    TermsFeed Drupal - Manage - Structure - Add content block - Text format - Full HTML selected

  8. Click Source in the Body editor:

    TermsFeed Drupal - Manage - Structure - Add content block - Body - Source

    Note: It's important to follow this specific order of steps - first to set the Text format to Full HTML and then to click on the Source in the Body editor, so that code can be displayed on the website.

  9. Paste the generated Cookie Consent code in the Source field of the Body editor:

    TermsFeed Drupal - Manage - Structure - Add content block - Body - Source - Paste generated Cookie Consent code

  10. Click the Save and configure button (at the bottom):

    TermsFeed Drupal - Manage - Structure - Add content block - Body - Source - Generated Cookie Consent code pasted - Save and configure

  11. The Configure block settings open. Uncheck the Display title option:

    TermsFeed Drupal - Manage - Structure - Content block added - Configure block - Uncheck the Display title option

  12. From Visibility options, open Content Types. Select both the Article and Basic page. Click Save block at the bottom:

    TermsFeed Drupal - Manage - Structure - Content block added - Configure block - Visibility - Content type - Article and Basic page selected - Save block

  13. The TermsFeed Cookie Consent Solution block is added to the Footer Bottom block section. Click the Save blocks button at the bottom:

    TermsFeed Drupal - Manage - Structure - Block layout - Footer Bottom - The TermsFeed Cookie Consent Solution block added - Save blocks

  14. The block settings have been updated. Go to the "Back to site" at the top left to see changes:

    TermsFeed Drupal - Manage - Structure - Block layout - settings have been updated - Back to site

  15. The TermsFeed's Free Cookie Consent Notice Banner is displayed on the Drupal website:

    TermsFeed Drupal - Site preview - The Free Cookie Consent Notice Banner displayed