Exercise 2: Using Context to Display a Block | Scribe

    Exercise 2: Using Context to Display a Block

    • Riley Skipper |
    • 0 step |
    • 2 minutes
      Click "Structure".
      Click "Context"
      Click "Add context"
      Label the Context as your name to reflect it as the same title as the Basic Page you built, for continuity.
      Add to a group.
      Tip! Groups help keep multiple contexts grouped together so they are all in the same section. If you are not training, place your context in a group that already exists, or create a new one.
      You can find existing groups by beginning to type.
      Save.
      Now we have added a new Context. The next set of steps will connect your page to this context, and then your block to your page.
      To connect your context to your page, click "Add Condition".
      Click "Request Path (system)"
      Alert! Make sure you do not click Request Path Exclusion.
      This is where you list the path for the page(s) you want to put the block on.
      For this training, that would look like "/stephen-king".
      Now that we have connected your page to context, now we connect the block to your page. Click "Add reaction".
      Click "Blocks"
      Click "Place block"
      Search the name of your block. It is important to name these something unique and descriptive, so they are easy to find without confusing them with other existing blocks.
      You can begin searching the name of your block, and once you find it, select "Place Block".
      For now we will leave the "Display Title" on. Now we put our block into a region, or a specific spot on the page.
      This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe