Closed (duplicate)
Project:
Local Menu
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2008 at 05:23 UTC
Updated:
6 Apr 2009 at 23:14 UTC
Hi, I tried your module and it's exactly what I'd like to use. But there's one problem getting it to work on my site: some menu entries point to a view (such as a table listing of news items), and on those instances the module does not work: the block that should show the children entries does not show at all.
Should this work, or could you make it work? Thanks for your time.
Comments
Comment #1
dmsmidtI've got the same issue. Would be nice to let this block display on pages created by a view also. And let the menu entries to those pages show up in the local menu two.
Comment #2
webwriter commentedSubscribing. This is an issue for me as well.
Comment #3
dmsmidtAs a workaround it is possible to just create the view as a block and only display that block on node X. But it may not be sufficient in all cases, and it's not so neat.
Comment #4
ar-jan commentedAnother workaround is to use Insert View or Views Reference to show the view inside a node.
Comment #5
guillaumeduveauI don't know, it works for me. If you add a link to a view page to your local menu, the local menu should display on the view page.
Comment #6
jeff h commentedJust wondering, did any of the authors of #1 to #4 set up their view to actually add a menu item? Or were you relying purely on the fact that your view provides a page with a URL?
I suspect it's the latter, which may hopefully be the cause of your problems?
Jeff
Comment #7
ar-jan commentedI had indeed not set the view to provide the menu item. I added the menu item with the view's page url manually in the menu's. I think I found this easier to manage, because I use different menu's for different languages. So this could be the problem, I didn't try the other method.
Comment #8
grendzy commentedMenu items defined by views get a "system" entry in the menu_links table, that remains even after the menu item is customized. Since local_menu grabs the first row it finds in menu_links, this seems to have the effect of making it inoperable on views.
The patch in #296558: Default menu option when item in multiple blocks appears to fix this issue.