Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Blocks are used to show extra information on pages, as is often seen in the left or right columns of a page.
Adding a 'Contact Information' block
Many websites include contact information in the sidebars. This is a very straightforward task to accomplish with Drupal.
- Click Administer>>Site building>>Blocks.
- Click the "Add block" tab.
- Fill in the "Description" and "Body." Here's a sample body:
- Save the block.
- Now you can "Configure" the block to add the block's title and define it's "Visibility".
- Follow the Configure link next to the block and enter "Contact Information" as the block's title.
- Decide if you want to allow users to turn the block on or off, and, if so, which roles should have that ability. Leave this as is for now. The next section allows you to choose which pages the block will be shown on; Leave this empty to show the block on all pages.
- Save the block.
- Now you're back on the block list. Find the block you just created in the list and choose a "Region". You can use the "Weight" parameter to set its position with in the selected area. For example, if you like the address at the bottom, you can use a heavier weight.
- Click the "Save blocks" button.
Example Organization<br> 123 Main St.<br> Mytown, State Zip<br> USA<br> (123) 456-7890