Skip to Content
Drupal For Dummies®
book

Drupal For Dummies®

by Lynn Beighley
December 2009
Beginner
380 pages
7h 8m
English
For Dummies
Content preview from Drupal For Dummies®

Chapter 8. Building Blocks and Managing Menus

In This Chapter

  • Understanding regions

  • Using blocks

  • Creating and administering menus

Themes are customizable. A theme can be modified, for example, to put the primary menu on the left side of the Web page rather than across the top. In this chapter, I extend the discussion of themes and take a closer look at how they can be manipulated from their default appearances.

I also discuss menus in more detail. In this chapter, I look at secondary menus and custom menus. (Chapter 5 covers primary menus.) Finally, I discuss creating a dynamic menu that changes when you post new content.

Understanding Blocks, Regions, and Menus

You need to understand three Drupal terms before diving in to this chapter: menus, blocks, and regions.

  • Menu: You probably have a pretty good idea of what a menu is. It's a set of links to Web pages. In Drupal, that basically describes a menu, but links can also point to Drupal nodes, such as stories and pages. When a link to a story or page node is clicked on from a menu, a Web page opens with the story or page node content presented as though it were an actual Web page.

  • Block: A block is a container that holds a chunk of code. The menu you see on the left is in a single block. Drupal organizes menus and other chunks of code into blocks. This makes it easier to move them around as you redesign the look of your site.

  • Region: A region is a location on your Web page. For example, the Header region is located at the top of all your site ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Using Drupal

Using Drupal

Heather Berry, Angela Byron, James Walker, Jeff Eaton, Nathan Haug, Jeff Robbins
Using Drupal, 2nd Edition

Using Drupal, 2nd Edition

Angela Byron, Addison Berry, Bruno De Bondt
Beginning Drupal 8

Beginning Drupal 8

Todd Tomlinson
Mastering Drupal 8

Mastering Drupal 8

Chaz Chumley, William Hurley

Publisher Resources

ISBN: 9780470556115Purchase book