Closed (fixed)
Project:
Domain
Version:
7.x-2.12
Component:
- Domain Conf
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2011 at 21:37 UTC
Updated:
26 Apr 2011 at 21:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardHow are you selecting another menu?
Comment #2
Stephen Rockwell commentedon domain settings page (admin/structure/domain/conf/2),
in menu selects box -> source for main links.
I'm selecting a menu that is not labeled main menu.
I'm assuming this is the way to populate different menus across different domains.
Comment #3
agentrickardIt sets the default variable for main links, yes.
Drupal has a problem, though. If you are placing main links with the Theme setting, this value should work fine, if you are using the default "Main links block", however, it doesn't use the same value and you need to replace that block with the 'Domain main links' block.
However, I think I see a bug. Can you try this patch?
Comment #4
Stephen Rockwell commentedthat's a good catch on the bug.
It didn't seem to help my issue though. I am using menu and not a main links block.
I'm think that perhaps the main menu is hard coded into the theme without opportunity for adjust variable. any thoughts as to where i might look for theme compatability?
Comment #5
agentrickardWhat theme are you using?
There are three normal ways to put the 'Main menu' links on the page:
1) Using the 'Main menu' toggle display setting for the theme. This calls the variable 'menu_main_links_source'. See http://api.drupal.org/api/drupal/includes--menu.inc/function/menu_main_m.... This works as expected for me, even without the patch (which only affects batch settings).
If you are using a custom theme, be sure the $main_menu variable is being processed correctly using the above function. See http://api.drupal.org/api/drupal/includes--theme.inc/function/template_p...
2) Using the core 'Main menu' block. This calls the menu directly and is not domain sensitive. See http://api.drupal.org/api/drupal/modules--menu--menu.module/function/men...
3) Using the provided 'Domain main links' block, which is domain sensitive. This works as expected for me as well.
Comment #6
agentrickardComment #7
agentrickardPatch committed anyway. Reopen with more information if needed.