I was contracted to develop a site map that would render dynamically at the bottom of each page in drupal. The scope of this module is only map the menu within a certain tree and non-hidden. It uses a recursive function to go through each menu tree. It also checks whether path.module exists and uses aliases if they exist.
Although I maintain several svn versions of this module for private sites the public versioning system is Drupal CVS.
As you can see from the bottom of this page I have developed a similar output plugin for "Treespin". There is really only 5 lines of code in this one due to the way that Steve Mokris designed TreeSpin. ;-)
4.6 Version: 1.1.2.4 (deprecated)
4.7.x Version: > 1.1.2.3.2.15
5.2.1 v1: 1.2.2.9 (deprecated)
5.2.2 v2: > 1.2.2.10.2.6
6.x Version: > 1.3
License: GPL
Footermap should work with drupal versions 4.6, 4.7, 5.x, and 6.x. I haven't tested with postgresql, but you shouldn't have any trouble.
Additionally, for the 6.x version php 5 is listed as a dependency.
- cd /path/to/drupal/modules (5.x+: sites/all/modules)
- tar xjf footermap-drupal version-module version.tar.bz2
- 4.6: enable module in drupal administration -> settings -> modules
- 5.x: enable module in drupal administration -> modules
- 6.x: enable module in drupal administration -> site building -> modules
- enable 'access content' for whichever users you want
Configuration in Drupal 6.x and 5.x.2 branches:
- top menu: from what mid to start. This is usually '0' for primary links. You can change it to '1' and it will display all the user pages usually. ;-)
- recurse level: how far footermap should recurse into the menus. You may not want to display a full site map... Default is 0, unlimited.
- enabled menus: select which menus from the top menu to include. By default your options should be primary links, secondary links, and any custom menu blocks.
- enable caching: toggle caching. This should speed up footermap performance and general drupal performance.
Additional Configuration in Drupal 4.7 and Drupal 5.x.1 branches:
- menu headers: display menu block headers in the footer site map.
See issue queue on drupal.org project page
Maybe do something different for Drupal 7, have a dev version right now that works the same way.