Place Blocks with Context

Placing blocks with context allows you to place blocks on multiple pages throughout your site. This feature will save you time when you need to place a block or blocks sitewide or on all content with a section of your site.

Note: To place blocks on individual pages on your site, it's best to place blocks via Edit Layout.

For example:

  • Placing a "Latest Articles" block on all articles in the site.
  • Placing a "Social Links" block in the footer of the site.

Video Tutorial

Note: you must enable the Advanced Layout bundle to use this feature.


Select a Context

  1. Go to the Express toolbar and select Structure.
  2. Select Context from the list of options.
  3. If you already have a context created, click the Edit link next to that context.

    Edit context
  4. If the context you want does not exist, click + Add to create a new one.

    Add context

Set a Condition

For new contexts only, you'll need to set the condition under which the block will appear. The most often used conditions are Path and Menu.

  • Path: attaches the block to single pages. This is the URL of the page. It's best to use the node number of the page if you can. 
  • Menu: attaches the block to entire sections of the site map. Select your section from the list.
  1. Choose one of these from the <Add a condition> drop-down.

Set a condition


Add the Reaction to Blocks

  1. Scroll down to the Reactions section and choose Blocks from the <Add a reaction menu> drop-down.

Adding a reaction


Add a Block to a Region

  1. Click and expand the Blocks section on the right and check the box next to the block(s) you want to place in a region.
  2. Click the + Add link on the region where you would like to place the blocks.

    Select block(s)
  3. Once the block is added, you should see it listed in the region.

    A block listed in the region

Save the Context

  1. Scroll to the bottom and click Save.

Save context