2

I'm surprised to not be able to find anything about this seemingly simple or routine request.

Suppose I have nodes that have long titles. They have menu items created the usual way, with short form titles.

I want to make a view of nodes that uses the menu item title of the nodes instead of the full title. However:

  • There are no fields I can see that relate to the menu item,
  • I can't see any available relationships that would access the menu item and make it available.

As a workaround I'm creating a custom field "subtitle" specifically for the views titles, but it's a bad workaround. Is there no way for Views to see the menu item of a node?

1 Answer 1

1

Out of the box, there isn't a way.

The only thing that may possibly help you is the

Menu Node Views

The Menu Node Views module provides Views integration for nodes assigned to the menu system. This module is in alpha development.

Else, a workaround is the only way.

1
  • 2
    Ahh... Drupal, where probably the biggest, most complex and most worked-on module simply doesn't talk to one of the main core parts of the system... I know many people never use the core menu system at all and simply generate menus in views, but it'd be nice to have the choice! May 18, 2016 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.