Hi all,
Running into a bit of a snag. I have Menu Block setup to appear on all pages of specific content types, but my menu block is not showing up on a Views "page display" that shows a list of those content type items. I currently have my Views page display path set to research/current-research-projects (which is where the Views page lives) and have also made sure that is a valid sub-menu item under Research in the menu links themselves - a little stumped. Any help would be greatly appreciated. Thanks!

Comments

richard.s.backer’s picture

Anybody have any help on this? Maybe a conflict with the latest Drupal release? I've exhausted Google but can't find anything helpful. I'm dead in the water and rely on the kindness, and superior brains, of strangers. Thanks in advance.

Les Lim’s picture

Status: Active » Fixed

A View displaying nodes of a certain content type isn't the same as a node of that content type. A view is not a content type, so the content type block visibility settings won't work. If you need the block to be visible on either nodes or views, use path-based block visibility instead.

Status: Fixed » Closed (fixed)

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

Mark_L6n’s picture

Status: Closed (fixed) » Active

I am running in to the same issue. As #2 states, this is not a bug. Nevertheless, this is an obvious use case: we'd want a menu block that appears for Content Types to also appear for Views of that Content Type.
I haven't been able to figure out how to do this. In 'Visibility' settings, the 'Pages' tab and the 'Content types' tab are behaving as a logical 'and' rather than a logical 'or': If I put the specific Views page name in the 'Pages' tab, and check items in the 'Content types' tab, than the menu block appears in neither place.
Does anybody know a way around this?

- Edit -

Never mind. Following the advice in #2, I adjusted the paths of all content and views needing to have a certain menu block (in Views and in admin/config/search/path/patterns) and then used wild cards to specify the file paths.

Mark_L6n’s picture

Status: Active » Closed (fixed)
drupal a11y’s picture

Version: 7.x-2.x-dev » 7.x-2.3
Component: Miscellaneous » Code
Category: support » bug
Status: Closed (fixed) » Active

This bug seems to be still here. Normal Blocks are working.

I use D7.19, Views 3.5 and Menu Block 2.3 with the Omega 3 Theme on a Domain Multidomain-Installation -> the current dev does not solve the problem but "crashes" the whole Navigation-Themeing.

drupal a11y’s picture

Status: Active » Closed (works as designed)

We found out that the problem maybe came from that we first activated the menu item from within the views page. This created the mess we guess.

After deleting the menu via the menu administration and adding the url with a new menu item it worked.