Closed (fixed)
Project:
Site map
Version:
7.x-1.0
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2012 at 17:44 UTC
Updated:
12 Jun 2013 at 22:10 UTC
Would it be possible to suppress the Drupal menu name for output on the Site Map page? For example, if a menu "Main Menu" is chosen as the source, it would be desirable to have the site map page with a header "Site Map" but not also "Main Menu" directly underneath it.
Comments
Comment #1
vchen commentedHi westatvideo,
This worked for me. I copied a snippet code from sites/all/modules/site_map/site_map.theme.inc (lines 29 -56 inclusive) and paste it into the bottom of sites/all/themes/[YOUR_THEME]/template.php. I deleted lines 39 and 46-48 that printed the menu title, or you can copy the following code that's already deleted the bits of code that prints the menu title.
1. Replace [YOUR_THEME_NAME] with the name of your theme.
2. Save, upload/commit/, clear Drupal cache
Hope that helps!
Comment #2
akalata commented