Closed (fixed)
Project:
Drupal core
Version:
6.12
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2009 at 03:16 UTC
Updated:
18 Dec 2010 at 16:30 UTC
Is this possible? I have a real estate page and I want a menu item to show up on the navigation bar in that page but not in the Home page.
Comments
Comment #1
aleehatami commentedbump
Comment #2
dman commentedThis is a good question. Sorry I don't know a quick fix.
maybe with CSS http://drupal.org/project/menuclass
http://drupal.org/project/special_menu_items
Comment #3
EvanDonovan commentedIf you use a theme based on Zen or Basic, this should be fairly simple with CSS since they provide a custom body id for the homepage. You could then simply write a CSS rule to hide the specific menu element when that body id is present.
Comment #4
EvanDonovan commentedQuestions such as this are more appropriately answered in the support forums. My answer in #3 should work in most cases. A theme override function could work in other cases - call drupal_is_front_page() (I think that's the name) in your function that themes the menu items. Or else use a different menu system like Superfish or Nice Menus.
Comment #5
EvanDonovan commented