Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
Bartik theme
Priority:
Normal
Category:
Support request
Assigned:
Issue tags:
Reporter:
Created:
21 Apr 2010 at 20:35 UTC
Updated:
1 Nov 2012 at 12:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Jeff Burnz commentedMarking this as a duplicate of #777778: Rethink header region block handling, I don't think we need two open issues for cleaning up menu blocks in the header.
Comment #2
deggertsen commentedI've attached the patch along with a screenshot. Review and enjoy!
Comment #3
Jeff Burnz commentedThis wont work with IE6. There are at least two very good modules that can do this better - Nice Menus and Superfish, both of which do work with IE6 by providing Javascript support. :hover is just doesnt work in IE6 on anything but anchors.
My point being that perhaps, if we wanted this sort of thing a better solution might be to just add a new region, such as $menu_bar, and conditionally print this region if a block gets put in it, eg.
print $menu_bar ? $menu_bar : $primary_links sort of thing
Your original post is a bug report which is why it got marked as a duplicate, I didnt realise you were making a feature request, can you change it please.
Comment #4
deggertsen commentedI would definitely like to see this theme support this kind of menu system. I realized that what I had done doesn't support IE6 so this does need work and I like the idea of adding it as a new region. I was also thinking the header region should be aligned to the right instead of where it is now but of course that is another issue/feature request.
So I guess my question is if we should just make it so that the CSS supports nice menus and/or superfish or if there is another solution?
Comment #5
Jeff Burnz commented"should just make it so that the CSS supports nice menus and/or superfish",
That is something I would very much like to see, so many users want drop menus etc it would be great if at least one of those modules looked good right out of the box.
The other way to go about it, is if Bartik were to get into core, then I would bet that both module maintainers would accept patches that add a "Bartik" style to their modules...
Comment #6
deggertsen commentedI'm going to postpone work on this then until we see more support for D7 from the Nice Menus and/or Superfish modules. Once we see a D7 release from them I think it will be easier to decide the final action plan.
Comment #7
deggertsen commentedAlso changing the name of this feature request.
Comment #8
deggertsen commentedComment #9
jensimmons commentedMoving to Drupal project, and pushing to D8.
Comment #10
anne1960 commentedHas anyone found a solution to this superfish menu in the bartik theme??
Comment #11
jjwhitney commentedI've just created a simple subtheme for Bartik that utilizes superfish menus.
Comment #12
anne1960 commentedwonderful...this one works...thanks a lot.
At least an easy install without having to mess in the code
Comment #13
anne1960 commentedOne additional question though. I did enable this theme. But I can't change colors for the appearance . Do I have to put this subtheme in the core Bartik file?
Comment #14
jjwhitney commentedHmmm... I guess the color feature doesn't get passed down to subthemes. I've fixed the problem, so try downloading again. Let me know if you have any problems. Thanks!
Comment #15
Jeff Burnz commentedHey guys, I really appreciate that you have some code you want to share and discuss, but this is the Bartik issue queue, and Drupal core at that, please take the discussion somewhere else, we use these issues to track actual issues, so what you are posting here is noise for us because its not pertaining to the issue at hand. Thanks.
Comment #16
anne1960 commentedIt works. thanks
Comment #17
Jeff Burnz commentedAfter some though on this the only way I really see this happening in core is if Main menu and Secondary links become blocks (this could really happen in D8) and Nice menus and Superfish include "Bartik" styles, although we could still have a color issue so some minor support may be required there, which I would not object to.
@anne1960 - please keep it on topic.
Comment #18
qipengos commentedHow to apply this patch? In the wwwroot dirctory?