0

Hopefully some wise Drupal guru will be able to help me with this one.

I'm using menu and menu block to output a side menu in Drupal 7. Using Panelizer, on a basic page I can customize display and add a view pane (Case study: Teaser), which will display a list of case study teasers:

enter image description here

I can add a case study content type, which provides a menu link. The problem is over time there will likely be hundreds of case studies, and it will look unwieldly to have hundrens of children/sub-pages in the menu.

I could list the links and disable them from the menu (and also keep the breadcrumb path): enter image description here

However, various admin and editors will be using this, so ideally I'd like some functionality whereby sub-pages do not appeaer in the menu when a Case Study content type is used, but the breadcrumb path is still shown: enter image description here

If anyone could point me in the right direction, I'd be eternally grateful :)

1 Answer 1

0

If you don't need the case studies to appear in the secondary nav/sidebar menu, you could try using the Path Breadcrumbs module to set custom rules for any of the following scenarios:

  • all "Case Study" content resides in a fixed hierarchy
  • "Case Study" content with a specific tag goes in a fixed hierarchy
  • "Case Study" content breadcrumbs are defined by url alias/path that reflects parent pages.

The module is rather flexible in the rulesets you can define.

3
  • Thank you @anson-w-han I'll try this when I'm back at work after Christmas.
    – snarf1974
    Commented Dec 26, 2017 at 11:05
  • Hi @anson-w-han, I've tried adding an argument and selection rule, but can't figure out how to set custom rule for all "Case Study" content resides in a fixed hierarchy. Should I be able to find 'content type' to choose the argument?
    – snarf1974
    Commented Jan 3, 2018 at 11:22
  • Can anyone shed any light on this?
    – snarf1974
    Commented Jan 8, 2018 at 9:55

Your Answer

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

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