I use nice menu for the submenu dropdown and menu views to automatic create sub menu items.

When the submenu item is from a view, no dropdown shows.
When the submenu item is a normal page, the dropdown shows only that page.

Clearing cache does not solve the problem.
The view itself is working correct. Only problem is that nice menu does not detect the output?

Comments

markhalliwell’s picture

Status: Active » Postponed (maintainer needs more info)

Creating issues:

If you have determined that the view is indeed appearing attached with the menu item, but not being styled, please open an issue with the appropriate contributed theme or module responsible for displaying your site's menu navigation.

It could be that nice menu does not render the menu item properly or has a higher module weight and is overriding the output. Will have to investigate further, but it might be Nice Menu needs to support this module.

anniekvandijk’s picture

It's not a style ussue. The menu view is nog appearing.

This is what happens:
I made a view 'Members' for the content type 'members'. This view has an output of three titles.
I made a menu view 'Members' and attach it to the view 'Members'.
In the menu the 'Members' item appears. But when I select it, no drop down appears (The three titles from the view are shown in the main content section)

To test the Nice Menu i made another menu item and attached some acticles as submenu items. Here the drop down is working and this part is styled.

The theme is not the problem in this case.

markhalliwell’s picture

Disable the Nice Menus module. See if the view shows up (unstyled) in the menu system. Also make sure that the parent menu item has the option of "Show as expanded".

Another thing to consider: Views has it's own filters and permission based rule sets. Make sure that the view has the correct configuration by attaching it somewhere else to see if it indeed is not being hidden.

Wish I could be of more help at the moment, there are just too many variables as to why it will not show. It may take some time to pinpoint where the issue may be.

anniekvandijk’s picture

Disabling Nice Menus solves the problem. The view shows up.
Enabled the Nice Menus again.... view disappears.
Clear cache...view items are shown expanded.
After some more testing I found out that my configuration was wrong.

I attached the view to the main menu items, but that did not work. you first need a main menu item and then attach the view as a sub menu item. This solved the problem.

markhalliwell’s picture

Assigned: Unassigned » markhalliwell
Category: bug » support
Status: Postponed (maintainer needs more info) » Needs work

Ok, so it is a Nice Menu issue.

Will keep this open until I have some time to do some testing with this module and submit a patch.

One question, you said part of the problem was due to incorrect configuration. What exactly was the issue if I may ask? It may help clarify where documentation should be increased.

codi’s picture

Not sure, but I believe I'm having the same issue. Every once in a while my menu items stop showing the embedded view and just displays the menu link title. A 'drush cc all' fixes the problem until it comes back.

I'm going to start debugging and i'll report back with any findings.

areikiera’s picture

Currently experiencing the same issue. Seemingly randomly, the menu stops showing the embedded view. Sometimes, clearing the cache fixes the problem, other times, it does not. I do not have drush installed, but may give it a try to see if @codi 's suggestion helps. I currently can't get it to show up again.

Let me know if I can be of any help! This is a wonderful module, and I would love to see it working just right in most, if not all installations.

*As a side note, I was having trouble getting it to work when I had the Special Menu Items module installed, but once I removed it, I was able to get the view to show up, until this problem arose.

Thanks!

EDIT: I'm posting in http://drupal.org/node/1433698 now. I was able to get the Menu View to re-appear by enabling/disabling a theme I wasn't using. I'm guessing just visiting (or saving the config on) the Appearance tab would've done it, and will try to confirm if it occurs again (will post results on the other thread).

markhalliwell’s picture

Version: 7.x-1.2 » 7.x-1.3
Category: support » bug
Status: Needs work » Fixed

Fixed in 7.x-1.3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.