Plug-in Web Applications > SimpleMenu

SimpleMenu

posted on 11:18 AM, May 28, 2008
SimpleMenu generates context-sensitive menus and site maps in various formats.
icon.gif

SimpleMenu is a multi-purpose menu-builder for ExSite websites. It will create context-specific menus on any web page in a site. Context-specific means that the site navigation links will reflect the current location in the site.

SimpleMenu can build four types of menus:

vertical
navigation links are stacked in a vertical list, with submenus exploded within this list. This is the default menu type.
horizontal
navigation links are listed left-to-right, with each link separated by a ``|'' (bar) character. Only the top-level links in the site are shown, and no submenus are displayed.
path
the path from the site home page to the current page is displayed in the ``cookie crumb'' format, ie. page1 > page2 > page3
sitemap
the full site structure is shown, with child pages indented beneath their parents.

By default, SimpleMenu builds complete menus, which means it begins from the top menu level of the site. You can optionally instruct it to display sub-menus. A sub-menu display can have either of the following behaviours:

  1. If there is no sub-menu below the current page, nothing is shown.
  2. If there is no sub-menu below the current page, then show the menu level above that (ie. the menu level that the current page is on). This ensures that a menu is always displayed.
Vertical and horizontal format menus are typically placed into templates.  Sitemaps are typically placed into page bodies.  Path menus are often used in either case.

Changing Navigation Structure

The SimpleMenu control panel provides an easy drag-and-drop interface for configuring your menus.  Pages are set up in a hierarchical structure, allowing you to group pages by topic.  The drag-and-drop interface allows you to:
  • move pages into different areas
  • move pages up or down within the same area
  • move groups of pages (pages plus their submens) at once
This interface is just a convenient UI for changing the parent_id and page_rank parameters of each page.  These parameters can also be modified manually using the page configuration option in MySite or the Website Manager.

One other page configuration parameters of interest is visibility.  This setting allows you to hide pages from the regular menus or site map.

Subsections

By default, SimpleMenu displays only the pages within a section. If you add the following configuration setting in its config file:
show_subsections = 1

Then it will also include subsections under the current section. Subsections are listed after all pages, and in the order the subsections were created. These cannot be reordered.

Layout

There are some simplistic default layout rules that define some basic markup to get your menus to display correctly. These are quite rudimentary, so you will often want to define your own markup to replace these.

Vertically-formatted menus will attempt to inline special content objects to spice up the menu presentation:

SimpleMenuTop
This content will be placed before all menu links.
SimpleMenuMid
This content will be placed between all menu links.
SimpleMenuBot
This content will be placed after all menu links.

Using these content objects, a template can incorporate custom table layouts, border graphics, and other visual tricks to lay out the menu.

You can do the same thing with horizontally-formatted menus, using content objects named SimpleMenuTopH, SimpleMenuMidH, and SimpleMenuBotH.

Otherwise, the default markup can be specified in the SimpleMenu.conf configuration file.

In addition to your own markup, SimpleMenu outputs links/anchors with a CSS class of "menu". You can make use of this in your stylesheets to produce a range of styling effects.

More SimpleMenu documentation here: SimpleMenu2

Related plug-ins:  DMenu.

Graphic design

Template Tutorial (Article)
This article is a step-by-step introduction to creating web page templates in ExSite. -- 1. Create an HTML version of your web page design -- You can create your mock-up using any web design tools you... (posted 2:01 PM, September 17, 2010)

Menus (Article)
-- ExSite Manual - Menus -- This document describes the different techniques for managing site menus in the ExSite CMS. -- Contents -- * Dynamic Context-sensitive Menus * Horizontal Menu Bars using... (posted 11:13 AM, July 16, 2010)

Introduction on renaming/editing document or image folders (Article)
A short tutorial describing how to edit Document or Photo Album folders. (posted 11:59 AM, March 4, 2010)

How to add SEO Meta Tags to your website (Article)
A short tutorial describing how to add SEO tags to your website. (posted 1:51 PM, February 22, 2010)

How to add a Survey to your website (Article)
(posted 3:00 PM, November 13, 2009)

Using the HTML Editor (Article)
* Introduction * Style Guide * Finding your way around the editor * Entering Text * Copy-and-Paste Issues * Formatting Text * Unformatting Text * Entering Images * Making Hotlinks * Making... (posted 9:14 AM, October 8, 2009)

Website Manager Module (Article)
-- Introduction -- The website manager is the application that is used for: * managing (creating and deleting) sites * managing pages, templates, and content libraries * updating content (by editing... (posted 3:37 PM, October 2, 2009)

Feedback (Article)
Solicit email comments from your readers. (posted 3:11 PM, July 21, 2008)

CMS (Article)
Advanced Content Management (posted 2:32 PM, July 21, 2008)

PrintFriendly (Article)
Make a printer-friendly view of the page. (posted 1:29 PM, May 28, 2008)

Gallery (Article)
Displays a photo album as a thumbnail gallery. (posted 1:19 PM, May 28, 2008)

Google (Article)
Puts a Google search form into your site. (posted 12:32 PM, May 28, 2008)

DMenu (Article)
DMenu generates dynamic drop-down menus. (posted 11:45 AM, May 28, 2008)

SimpleMenu (Article)
SimpleMenu generates context-sensitive menus and site maps in various formats. (posted 11:18 AM, May 28, 2008)

How this site was designed in ExSite (Article)
The redesign of the ExSite Support Site offers up a good real-world example of how to set up and install a new graphic design completely from scratch. This provides a good review of some universal web... (posted 5:42 PM, April 21, 2008)

Editing Best Practices (Article)
When entering new content into your web site, certain practices are best followed to ensure you end up with professional-looking and maintainable results. -- DO NOT USE the font face, font size, and... (posted 2:34 AM, July 26, 2007)

Advanced Templating Concepts (Article)
-- Analyzing Page Structure -- Your page structure consists of numerous different elements that can be managed separately. Some are obviously separate, such as images and stylesheets, while others are... (posted 2:15 AM, July 26, 2007)

Creating Templates (Article)
-- Templating Basics -- A template is a model page, which defines how the content of real pages should be laid out, decorated (enhanced with colors and graphics), and typographically styled. A template... (posted 1:53 AM, July 26, 2007)

Graphic Design Best Practices (Article)
-- Page Structure -- A page is typically broken into several regions, each holding a block of content that is independent of the others. For example, a common page structure uses a 3-column layout,... (posted 1:26 AM, July 26, 2007)

Templating Best Practices (Article)
HTML and CSS can be combined in a myriad of ways. Some of these will be friendly to ExSite's CMS assumptions, and others will make content management difficult or inconsistent. This document guides ... (posted 12:46 AM, July 26, 2007)

How ExSite Creates Web Pages (Article)
This document describes, in moderate technical detail, how ExSite constructs web pages for display on client browsers. It is intended as a primer for technically-oriented graphic designers who will... (posted 7:55 PM, July 25, 2007)

RSS

permalink Link