Tapestry

A Drupal Theme

Suckerfish Menu

  • Features
    • 20 Color Styles
    • 30 Regions
    • Custom Block Themes
    • Suckerfish Menus
    • Flexible Page Layout
    • Easy Configuration
    • Icon Support
    • Custom Typography
    • IE PNG Fix
  • Handbook
    • Installing Tapestry
      • Installing the Theme
      • Installing ThemeSettingsAPI
      • Configuring Tapestry
      • Installing BlockTheme
      • Configuring BlockTheme
    • Using Tapestry
      • Using Regions
      • Using Sidebars
      • Using Block Themes
      • Using Suckerfish Menus
      • Using Icons
      • Using Primary Links
      • Using Custom Typography
      • Using The IE PNG Fix
    • Customizing Tapestry
      • Adding Icons
      • Creating Block Themes
      • Creating New Styles
    • Troubleshooting
      • Setup Issues
      • Layout Issues
    • How Do I...
      • Put Images In a Block
      • Place Ads On My Site
    • Credits
  • Forums
  • Download
  • RoopleTheme
    • About RoopleTheme
    • RoopleTheme.com
    • Contact RoopleTheme
  • Home
  • Help
  • Contact

Tapestry Handbook

  • 1. Installing and Configuring Tapestry
  • 2. Using Tapestry on Your Site
    • 2.1. Using Tapestry Regions
    • 2.2. Using Tapestry Sidebars
    • 2.3. Using the Block Theme Module
    • 2.4. Using Suckerfish Menus
    • 2.5. Using Tapestry Icons
    • 2.6. Using The Primary Links Menu
    • 2.7. Using Tapestry's Custom Typography
    • 2.8 Using The IE PNG Fix
  • 3. Customizing Tapestry
  • 4. Troubleshooting
  • 5. How Do I...
  • 6. Credits

2.1. Using Tapestry Regions

Submitted by admin on Fri, 01/25/2008 - 07:30.

Tapestry provides 30 regions that you can publish blocks to (along with a region for the Suckerfish menu.) The Tapestry Regions Page shows each of the available regions. Looking at this page will give you a feel for where the regions are in relation to the one another.

The Basics

First, let's get the terminology down. A Drupal page typically includes a Content area and, optionally, one or more Blocks, which are published to Regions.

The Content area is the main part of the page, and is made up of Nodes. A node can be a story, a blog post, a forum post, or a custom node type. For the most part, Drupal manages the Content area, and you direct it using the Drupal administion menus.

A Region is essentially a physical place on the page. For example, a left sidebar region might be provided to display something to the left of the Content area. Regions are provided by the theme, and different themes will provide a different selection of regions.

Tapestry Regions

A Block is a piece of content. Blocks can have a title and body text. In order to display a Block on your site, you publish it to a Region. In selecting a Region for a particular Block, you are determining where on the page that Block will be displayed.

Collapsible Regions

Tapestry's Regions are grouped into collapsible sections. The User1, User2, and User3 regions are the blocks below the masthead. We collectively call these three regions Section1. Similarly, User4, User5, and User6 make up Section2. User7 through User15 make up Section3, Section4, and Section 5.

In order to display a Section, simply publish a block to one of the User Regions in that Section. If you publish to only one User Region in a Section, that Region will fill the width of the page. Publish to two or to all three User Regions in a Section, and the Regions will split the horizontal space accordingly.

Similarly, if you publish content to the Outside, Left or Right Sidebars, they will appear. Publish nothing to one of the sidebars and it collapses out of sight. And the same applies to the Banner Region below the Masthead.

If you publish nothing to one of the sidebars, the main Content area will grow to fill the horizontal space normally taken by the sidebar. Publish to none of the sidebars and the main Content area will fill the width of the page.

A region will stretch vertically as much as necessary to display the content you publish to it. You can publish as many blocks to an individual region as you want. When you publish more than one block to a region, the blocks are stacked vertically atop one another. You can determine the order that blocks appear within a region by configuring the Weight of each block.


‹ 2. Using Tapestry on Your Siteup2.2. Using Tapestry Sidebars ›
  • Printer-friendly version
  • Login to post comments
RoopleTheme