Creating an Article for your Drupal Site
Basic Page Editing in Drupal
Drupal Basic Page Deletion

Drupal Theme Regions

A Drupal Region is a location on your web page. The number and type of regions available vary among themes. To see where regions are located, in the Garland theme refer to the following illustration. You can see the Header, Left Sidebar, and Right Sidebar regions.

image0.jpg

The regions your site has depend on which theme you use. In the Garland theme, a Header region is at the very top of each page of your Drupal site. The Left Sidebar region is on the left and contains the administrative menu functions as well as the login. The Right Sidebar is empty.

The Garland theme has two more regions — the Content region and the Footer region — visible when you scroll to the bottom of the web page, as shown in the Bartik theme displayed in the following illustration.

image1.jpg

The Content region is where articles and basic pages appear. The Footer contains a default Powered by Drupal link and any other footer content you add.

The Bartik theme has 17 regions: Header, Help, Footer, Page Top, Page Bottom, Highlighted, Featured, Content, Sidebar First, Sidebar Second, Tyiptych First, Triptych Middle, Triptych Last, Footer First Column, Footer Second Column, Footer Third Column, Footer Fourth Column, and (finally!) just plain Footer. To keep things interesting, not all themes have the same number of regions. Some have fewer than you see in Bartik; some have many more.

To see which regions your current theme has, follow these steps:

  1. Log in as administrator.

  2. From the Dashboard menu bar, click Structure.

  3. Click the Blocks link.

    When the overlay opens, look at the top right of the page, and you’ll see tabs for all of the themes you have installed and enabled on your Drupal site.

  4. Click the tab of the theme for which you want to see the regions.

    For example, when you click the Bartik tab the Bartik blocks page opens.

  5. Click the Demonstrate Block Regions (Bartik) link.

For your efforts, you are rewarded with a regions map of your theme, illustrating all of the places you could possibly jam a block into, as shown in the following illustration. Pretty snazzy, huh? You can look into the regions of all the installed templates on your site the same way — just click the tab for the template and then click the Demonstrate Blog Regions (Theme) link.

image2.jpg

Programmers who build Drupal themes may create additional regions beyond those covered here. If you use a custom Drupal theme, you may have more or fewer regions to work with.

blog comments powered by Disqus
Changing Colors in Your Drupal Theme
Drupal Site Article Writing
Drupal Theme Region Customization
Drupal Site Public Registrations
Drupal Site Home Page Ordering
Advertisement

Inside Dummies.com