Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Sidebar Block content type is a block that appears on Section Front Pages and Pages in either the right-hand or left-hand region of the page. These blocks are used to provide additional functionality that Related Resources and Contact Info do not offer.

You can use blocks to place content or functionality on different regions of a page (outside of the body). They are the number two feature you will use to build content on your site behind content types.

...

Instructions

...

Using Sidebar Blocks first, if you can

...

See the Sidebar Block page for detailed instructions on how to use this block.

...

Note

Blocks can affect your entire website, and there is no undo button. If you plan on creating a new block, test it on Stage before implementing it on Production.

Creating a New Block

https://www.drupal.org/docs/7/core/modules/block/overview

Creating a Menu Block

Code Block
ADDING MENU BLOCKS
------------------

To add new menu blocks, use the "Add menu block" link on the administer blocks
page, admin/structure/block. You will then be able to configure your menu block
before adding it.


CONFIGURING MENU BLOCKS
-----------------------

When adding or configuring a menu block, several configuration options are
available:

Basic Options:

Block title
  For menu trees that start with the 1st level, the default block title will be
  the menu name. For menu trees that start with the 2nd level or deeper, the
  default block title will be the title for the parent menu item of the
  specified level.

  For example, if the active menu trail for the Management menu is: Administer >
  Structure > Menus > Main menu, then a menu block configured to start with the
  1st level of the Management menu will display a block title of "Management".
  And a menu block configured to start with the 3rd level of the Management menu
  will display a block title of "Structure".

Block title as link
  For menu trees that start with the 2nd level or deeper, the default block
  title will be the title for the parent menu item of the specified level. If
  this option is checked, the block title will be a link to that menu item.

Administrative title
  To help identify the block on the administer blocks page, you can specify a
  unique title to be used on that page. If blank, the regular title will be
  used.

Menu name
  Select the menu to use for the tree of links.

Starting level
  Blocks that start with the 1st level will always be visible. Blocks that start
  with the 2nd level or deeper will only be visible when the trail to the active
  menu item is in the block's tree.

Maximum depth
  From the starting level, specify the maximum depth of the tree. Blocks with a
  maximum depth of 1 will just be a single un-nested list of links with none of
  those links' children displayed.

Advanced options:

Make the starting level follow the active menu item
  If the active menu item is deeper than the level specified above, the starting
  level will follow the active menu item. Otherwise, the starting level of the
  tree will remain fixed.

Expand
  All children of this menu will be expanded.

Sort
  Sort each item in the active trail to the top of its level. When used on a
  deep or wide menu tree, the active menu item's children will be easier to see
  when the page is reloaded.

Fixed parent item
  If you select a specific menu item, you alter the "starting level" and
  "maximum depth" options to be relative to the fixed parent item. The tree of
  links will only contain children of the selected parent item.
  • ???Go to Content > Create Content > Sidebar Block

  • Give the block a Title

  • Assign the block to a Section

Info

The Section is related to an already-established taxonomy term. Your block will only appear on pages associated with that taxonomy term.

  • If necessary, upload an Image

Info

Images should be small in size since they appear in a narrow region of the page

  • You must provide a Alternative text and title for your image

  • If you would like the image to be clickable, add the URL to the Image URL field

  • Enter any content you would like to appear in the block to the Body field

  • Under Settings, select Display title if you would like the Title field to display above your block and Border if you would like the block to have a border

  • In the Section pages dropdown, select which grouping of pages associated with the taxonomy term you would like the block to display

    • All pages: Every page with sidebar in the ‘section’

    • Section frontpage only: Only on the section frontpage page content type for that ‘section’

    • All pages but section frontpage: Every page in the ‘section’ except the frontpage page content type for that ‘section’

  • Under Sidebar, if you would like the block to appear on the left-hand side of the page, select First Sidebar; if you would like it to appear on the right-hand side of the page, select Second Sidebar

  • Select a weight if you would like to change the vertical order, if more that one Sidebar Block are used in same region. The lower the number, higher on the page it will appear.

  • Click Save

...

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel in ( "content" , "content-editor" , "site-builder" , "webmaster" , "structure" )