In a nutshell, context allows you to create certain conditions ("contexts") that will trigger "reactions" to that context. Contexts allow a site owner to create tasks on the site that are automated that might otherwise be time consuming to do manually. For many new users and simple site builders, using Edit Layouts to place blocks is enough to get the job done. If the job gets done quickly and correctly, isn't that all that should matter? Stick with what works.

For more advanced projects that have complex layouts using Context is a powerful way to add and display reusable blocks of content on your site. The Context feature is available in the Ìý²¹²Ô»åÌýÌý. Enable one of these bundles to add the context feature to your site. 

Use Cases of the Context Feature:

Below are a few examples of basic context use cases. We also have online tutorials for common context use cases. 

  • You wish to have a certain block be displayed in a specific region on every page of your site, setting up a context that will do this saves you from manually adding the block to every page via Edit Layouts.
  • Imagine you want this block to show in the first sidebar region on the home page but in the footer area on all other pages. This can be accomplished in context.

Use Case Context Tutorials on Web Central:

  • Creating breadcrumb navigation on articles
  • Placing a block in a section of your site

Context allows you to even set multiple conditions and reactions. What if you want to make sure that blocks always appear in a particular order? You can order blocks within a particular context by dragging them to your preferred order, but if you are adding blocks to the same region via Edit Layouts on a page also, ordering gets unpredictable, so you might need to alter block weights to produce your desired display.

As you can imagine, using the Context feature will require some exploration on your part. Don't be afraid to play with the conditions and reactions to see what you can do and if the options are what you need.

Resources

Campus Training: 

Advanced Layout & Design Training