• Getting Started
  • Writing for UQ Drupal
  • Configuring site title
  • Site Editor Training
  • Planning your website
  • Administrator view
  • Alert boxes
  • Content Writing
  • Building a homepage
  • Writing for the Web
  • Site Coordinator Training
  • Banners
  • User types
  • Legacy system support section
  • Accessibility
  • Blocks
  • UQ School Template Training
  • Logging in
  • Administration
  • Brand Colours
  • Views
  • Design & Build
  • Images for the web
  • Buttons
  • Display Suite
  • UQ Base theme: Style Guide
  • Equal height elements
  • Search Engine Optimisation
  • Image Styles
  • For Developers
  • DS Inception
  • Forms
  • Drupal Glossary
  • Creating a sandbox
  • Icons
  • How to create banners
  • Training
  • List with lead
  • Google Analytics
  • UQ School Theme: Style Guide
  • Panels
  • UQ Base Regions
  • Utility classes
  • UQ Base theme
  • Quicktabs
  • Webforms
  • Tables
  • Toggle
  • Typography
  • UQ News RSS feeds
  • Block grid
  • Demo form
  • Date and Time
  • Grid
  • Menus
  • Name space standards
  • Theme settings
  • URL patterns
  • Central data
  • Maintenance mode
  • Site search
  • Developer Virtual Machine
  • Developer Contribution Workflow
  • UQ Base theme updates
  • Modules available for use in UQ Drupal
  • Migration Classes
  • DS Inception V3
  • Automated Tests
  • Blocks

    This functionality is only available to Site Coordinators and Administrators.

    What are Blocks?

    Blocks are distinct chunks of content or functionality that can be placed on pages. They are not the page themselves, but can be added for instance to the sidebar of a page. Multiple blocks can be added to the same page.

    They could be static chunks of content or they might pull in content from somewhere else to display in the context of another page.

    Example of a static content block in the sidebar second region

    Why use Blocks?

    Blocks would be used (example here).

    Block of content

    To add supporting content to an existing page, say in the sidebar, a content block is a good solution.

    In the admin menu, go to Stucture > Blocks > Add block

    Adding a block via the admin menu

    Like a page, blocks have a Title and a Body. The title is optional however and can be left black or set to <none>. The Block description is its administrative name so you can tell which block it is. This does not display to any front-end users.

    Add your content to the Body as you would on a page, using the WYSIWYG editor.

    Where to display

    Use the Region Settings options to select where on the page the block should appear. In the UQ Base (default theme) drop down list select the region you want. For instance 'Sidebar second (navigation)'.

    In the Visibility Settings you can select which page/s or content types the block should appear on, as well as which security roles can see the block.

    For instance if you wanted the block to only show on the About page then you would put the relative path url (e.g. about) for that page in the Show block on specific pages field and tick the Only the selected pages option. You can come back at any time to change where the block displays.

    Edit existing blocks

    Hover over an existing block and it will display the admin cog icon Block edit cog icon at its top right corner. Click this and select Configure Block to bring up the block edit screen.

    Previous (Accessibility)Next (UQ School Template Training)