Closed (won't fix)
Project:
Marinelli
Version:
6.x-2.96
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Jul 2010 at 13:35 UTC
Updated:
17 Jul 2016 at 01:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
clarenza commentedI have the same issue. I'm no expert but it looks like a limitation of Drupal rather than the theme. I've installed the Simplemenu module to provide menus where all the top level menu items have dropdowns, rather than just the active one.
However it seems the Marinelli theme incorrectly implements the div tags that centre the page. As a result, on IE7 and earlier, the Simplemenu's left edge is centred instead of left aligned (no problem with other browsers). I raised this as an issue a few days ago (http://drupal.org/node/844590) but haven't heard anything back as yet. Hope this helps.
Comment #2
vedeem commentedI Was having the same problem
I Think i found the solution
The problem is, that the menu needs to be expanded.
Only the items that are expanded are visible in the dropdown menu
2 solutions:
1. You need to change the settings of the drupal menu,
Force every menu item of the primary menu to be expanded.
The dropdown menu works after that.
Of course when you show the menu in a block, it will be expanded also.
So you loose the possibility to choose.
2. The theme uses a function called phptemplate_get_primary_links() in the template.php file
function phptemplate_get_primary_links() {
return menu_tree(variable_get('menu_primary_links_source', 'primary-links'));
}
it calls the core drupal function menu_tree()
however it only returns that part of the menu that is needed on that specific page
So we need a function that returns the full menu and not a part
for this I've added an altered menu_tree() function and called it menu_tree_full()
then phptemplate_get_primary_links() calls this new function
function phptemplate_get_primary_links() {
return menu_tree_full(variable_get('menu_primary_links_source', 'primary-links'));
}
function menu_tree_full($menu_name = 'navigation') {
static $menu_output = array();
if (!isset($menu_output[$menu_name])) {
$tree = menu_tree_all_data($menu_name); // This is the tweak!
$menu_output[$menu_name] = menu_tree_output($tree);
}
return $menu_output[$menu_name];
}
Comment #3
fasthanweb commentedI have the same issue with other themes which has dropdown menu. But maybe this is an alternative theme you look at : Danland. With Danland, submenu will appear when you hovering it from wherever you stay. Read first the guidance of this theme.
Comment #4
cedargrovehs commentedI too am having an issue getting my menu to "drop down". Under PRIMARY LINKS, all are set to EXPANDED. Attached is a screen shot of my menu problem. The child and grandchild are being listed under the parent, which is strange.
I changed the background image of the menu tabs, however while troubleshooting, I renamed my current links.css and copied an unaltered copy of links.css in to my Marinelli folder. I get the same issue...stacked menu items.
I thought dropdown.css might be the problem, but that is unaltered as well.
In my JS folder, I have a copy of jquery.hoverIntent.minified.js that was already included with the theme.
Can anyone offer any suggetions? Thank you.
Comment #5
cedargrovehs commentedI solved my issue. I had to go in to SITE BUILDING-->THEME-->CONFIGURE-->GIORDANI-->ENABLE DROP DOWN MENU
Comment #6
oadaeh commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.