Book Image

Drupal 7 Cookbook

By : Dylan Spencer James
Book Image

Drupal 7 Cookbook

By: Dylan Spencer James

Overview of this book

<p>Drupal 7 is a modern Content Management System famed for its flexibility and power. Using Drupal you can easily create custom functionality that would otherwise have to be purchased in many of the other leading CMSs.<br /><br />"Drupal 7 Cookbook" is filled with recipes to help you to do more with Drupal and improve your skills. Chapters range from content creation, to theming, to managing your site. You will learn how to create your own content types and use them to create Views, Blocks, and Pages. This book will take you from novice to pro in just 12 chapters.<br /><br />In a wide variety of practical recipes, you will learn how to work with views and panels, how to provide translations for your content to create a multilingual site, and to integrate your site with social media. You can develop the Zen starter theme or learn how to create custom cross-browser compatible Drupal themes, including themes for mobile devices. The Drupal 7 Cookbook contains all of the means necessary to take your skills from those of a novice Drupal user to a proficient site builder.</p>
Table of Contents (18 chapters)
Drupal 7 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Creating a mega-footer menu


A mega-footer is a section of a website located above the main footer links which usually displays a menu listing for each subsection of the site. In this recipe, we will be creating a mega-footer consisting of four new menu blocks, each set to a different fixed parent item. We shall then add one menu block to each of the four footer columns in the Bartik theme.

Getting ready

For this recipe you will need:

  • The Bartik theme, or a theme with at least four footer columns

  • To install and enable the Menu block module: http://drupal.org/project/menu_block

  • To have at least four main menu items, each with at least four subitems

This recipe will be based upon the following menu structure, but feel free to use an alternative menu structure if you would prefer:

  • Home

  • About us

    • History

    • Our organization

    • Our people

  • Contact us

    • E-mail us

    • Our locations

  • Our portfolio

    • Portfolio A-Z

    • Portfolio archive

  • What we offer

    • Business solutions

    • Independent advice

    • Solution consultation

    • Market research

How to do it....