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
- Install the module
- Add sections in
admin/structure/block-sections - Add section blocks in
admin/structure/block("Add section block" link) - 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
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Administration tools, Content editing experience
4 sites report using this module
- Created by rade on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

