Closed (won't fix)
Project:
Menu Views
Version:
7.x-2.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
31 Aug 2012 at 10:31 UTC
Updated:
6 Feb 2016 at 18:39 UTC
Jump to comment: Most recent
Comments
Comment #1
markhalliwellThat is not the scope of this module. You should probably use the views_field_view module if you want to attach multiple views to one.
Comment #3
markhalliwellComment #4
jmary commentedIt seems that views_field_view is not taken in consideration in the module.
In the function menu_views_menu_link, the way to test the wrapping into
<li>does not parse the code sent by the view but simply test if there is something inIt is appearing at line 79-81 in menu_views.module
Therefore a sub element is built only if it is a subelement in the drupal menu system, not in the generated view. That's how things seem to work here.
So it seems that there is no way to render correctly anything else than a view which is reflecting a flat menu. I have been on that during the past 3 days.
Comment #5
jmary commentedSorry to reopen that, but it would be nice if the module could handle any view as long as it is feeded with a menu structure, and not only flat elements.
Think about a views spitting this :
It just doesn't behave well : it will put the whole block in one
<li>element whereas the<li>blocks should begin before the links which are not already in<li>block and finish after the<ul>blocks.Comment #6
markhalliwell