Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-2.x-dev
Component:
CSS/HTML
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2012 at 06:46 UTC
Updated:
6 May 2012 at 16:31 UTC
Jump to comment: Most recent file

Comments
Comment #1
jenlamptonpatchy patchy
Comment #2
Jeff Burnz commentedhmmm, I know this happens but in practice I never worried about it and no one ever mentioned it :P
I'm not sure array_unshift gives us what we really want, its a solution but it means if someone adds a simple block--region tpl the markup gets nuked for the menu blocks and reduces the semantics - which I would say is worse bug, especially if you are relying on the markup for CSS etc (which you shouldn't, but people do...).
Probably, looking at this with fresh eyes, the whole way this works is rather weak. The only real reason I wanted to use the block--menu template for those menus is to get generic markup for all those blocks and use the nav element. Perhaps there is a better way, perhaps even removing that template[suggestion] and generating the tag for use in block.tpl.php. I can see a number of solution, will need to think about it and do some testing.
Any other suggestions welcome, even right outside the box (the best kind).
I need to rethink this a bit. Good bug report, I can see we can make improvements.
Cheers.
Comment #3
Jeff Burnz commentedWhat if we got rid of all the other block templates and did something like this instead, this would solve the issue as well by 1) simply not using that suggestion in the theme, and 2) provide at least two more powerful suggestions one can use if you do:
Provides this...
Comment #4
Jeff Burnz commentedThis is now fixed, the suggestions are weak and easily overridden.
Comment #4.0
Jeff Burnz commentedtypo