Configuration page of a section block

Block Sections allows blocks to display different content depending the current path. This way there is no need to create multiple custom blocks in order to vary the content of them.

Example use case: Advertising

A possible use case for this module is when a block contains advertisements. With Block Sections the ads can be specifically targeted for different sections of the website:

  • Show Ad 1 in section "Info pages"
  • Show Ad 2 in section "Articles & Blogs"
  • Show Ad 3 in section "Products"

Then the sections may be defined by their paths:

  • Section "Info pages": <front>, about, contact/*
  • Section "Articles & Blogs": articles/*, blog/post/*
  • Section "Products": products/*

Usage

  1. Install the module
  2. Add sections in admin/structure/block-sections
  3. Add section blocks in admin/structure/block ("Add section block" link)
  4. In the block configuration there is a content field for every section added in step 2

Credits

This module was sponsored and developed by Soprano Brain Alliance.

Project information

Releases