Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2007 at 19:03 UTC
Updated:
21 Jul 2008 at 01:55 UTC
The other day I was in deep sleep and then came a thought: wouldn't it be great if the Views module > Page fieldset > Menu sub-fieldset showed the break down of the Menu system just like creating/editing a node?
Then we can specify where the page is placed without having to backtrack by readjusting and moving views generated menu items around via menu admin page.
Am I the only one dreaming this? Surely the menu nightmare needs to stop?
Comments
Comment #1
merlinofchaos commentedThat would be great, but it's not easily doable. It's not impossible, but the reason it works for node is that it's entering the data directly into the database. Views uses the hook_menu structure, which doesn't allow you to set the parent for the menu item, unfortunately.
Comment #2
karl sf commentedIf I understand you correctly you are suggesting that views menus function like an actual directory structure?
Would this also affect the breadcrumbs?
Comment #3
merlinofchaos commentedTheoretically Drupal's menu system should provide a breadcrumb trail. If you create your view as 'foo/bar/baz' and there is a 'foo/bar' then I believe that Views will automatically be placed under 'foo/bar' in the breadcrumb structure.
Drupal's menu system is a little crazy =)
Comment #4
BioALIEN commentedCorrect, this will not only place the views item in the right menu tree but also generate the breadcrumbs automagically.
Well merlinofchaos, just wanted to put my idea forward as I think its a big help. Let's hope it will be possible with the new menu system for D6?
Comment #5
moshe weitzman commented#284893: Allow admin to place menu items into primary links or other menus.