Menu System - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Menu System

Description:

Thanks to Anish Krishnamurthy and Zhuo Ming Liu for not reporting me to the ... Menus are totally configurable and customizable. ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 18
Provided by: jiml106
Category:

less

Transcript and Presenter's Notes

Title: Menu System


1
Menu System
Presented by Bill Baxter Date July 31,
2008 References Drupal 6.3 documentation Thank
s to Anish Krishnamurthy and Zhuo Ming Liu for
not reporting me to the police for stealing their
custom Drupal presentation format!
2
Table of Contents
  • What is a menu?
  • Menu module
  • Default menus
  • How do we use them?
  • How do they work?
  • How is the menu information organized in the
    database?

3
What is a Menu?
  • A menu is a link used to navigate within the
    website.
  • Menus are a hierarchical collection of links
    (menu items) used to navigate a website and are
    positioned and displayed using Drupal's flexable
    block system
  • New, customized menus can be made by writing a
    module

4
Menu Module
  • The menu module provides an interface to control
    and customize Drupal's powerful menu system.
  • Each menu automatically creates a block of the
    same name. By default, new menu items are placed
    inside a built-in menu labeled Navigation, but
    administrators can also create custom menus.
  • New, customized menus can be made by writing a
    module

5
Menus - Default
  • Navigation menu - contains most links necessary
    for working with and navigating your site and is
    often displayed in either the left or right
    sidebar.
  • Primary links and Secondary links contain no menu
    items but may be configured to contain custom
    menu items specific to your site. Most Drupal
    themes also provide support for Primary links and
    Secondary links, by displaying them in either the
    header or footer of each page.

6
Menus Default (cont...)?
  • Control the site's navigation menu, primary links
    and secondary links, as well as rename and
    reorganize menu items.
  • Derived from the base menu, by adding its own
    data attributes.

7
How to use them?
Click on Administer, Site building, Menus
8
How to use them?
  • The menus page displays all menus currently
    available on your site. Select a menu from this
    list to add or edit a menu item, or to rearrange
    items within the menu.
  • Create new menus using the add menu page (the
    block containing a new menu must also be enabled
    on the blocks administration page).

9
How to use them- Add menu
Creating a new menu Once a new menu is added,
select save (not ahown in this image).
10
How to use them- Menu created
Message to confirm that the menu item has been
created.
11
How to use them - Settings
Configuring the new menu item.
12
How to use them - Settings
Editing for the default setting of menu.
13
How to use them - Works!
  • Enable the menu by adding it to a block.
  • The block presentation will explain that process

14
How do they work?
  • A menu is an object composed of multiple parts
  • menu_custom stores the menu_name, title and
    description.
  • menu_links stores the destination (link) of the
    menu.
  • block each menu item has a block of the same
    name.

15
How is the menu database organized?
Schema
16
How is the menu database organized?
Table menu_links
Table menu_custom
17
Conclusion
  • Menus are necessary to provide navigation within
    and outside of the web site.
  • Menus are totally configurable and customizable.
  • To fully understand the menu system you will need
    to also undderstand blocks and how they relate to
    the overall system within Drupal.
Write a Comment
User Comments (0)
About PowerShow.com