Download & Extend

How to place sitemap output in a block

Project:Site map
Version:6.x-2.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I've played with the configuration every way I can think of, but I can't get it to show up in my drupal 6 install. Are there any dependent modules that I might have missed installing, or something else I'm overlooking? Thanks!

Comments

#1

Status:active» closed (fixed)

#2

Status:closed (fixed)» active

#3

thought i had fixed it, but no such luck.

#4

From the README:

Installation:
------------
1. Place this module directory in your modules folder (this will
usually be "sites/all/modules/").
2. Go to "Administer" -> "Site building" -> "Modules" and enable the module.
3. Check the "Administer" -> "User management" -> "Permissions" page to
enable use of this module to different roles.
4. Make sure the menu item is enabled in
"Administer" -> "Site building" -> "Menus" -> "Navigation".
You may move it to another menu if you like.
5. Have a look at the different settings in
Administer -> Site configuration -> Site map
6. Visit http://example.com/sitemap.

#5

Thanks, I really appreciate you taking the time to get back to me.

I had gone through the Read Me before, but I guess what I was misunderstanding is that this is assigned as a menu item, not a block that can be displayed anywhere. What I would like to do is to display it in my footer on all pages- any guidance is much appreciated.

#6

Title:sitemap is empty» How to place sitemap output in a block
Version:6.x-1.2» 6.x-2.x-dev
Status:active» fixed

The site map module does not yet have a block.

What you can do is make a new block with a PHP snippet that prints out selected output from the site map module. You have render functions like _site_map_menus() and _site_map_taxonomys() etc. to play with.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#8

I ran into a similar problem the other day...
I customized footermap module to make it work for me... http://beacon9.ca/labs/scripts/drupal-site-map-block-module

#9

You can print out it whenever you want:

<?php
print site_map_page();
?>
nobody click here