Like the title says, my issueis about how to add a view to a submenu directly. The reason i came up with this is because i will have alot of different views. These views must be ordered nicely, so it's user friendly.

I know i could add a view to a menu after creating the view. But not a submenu. For instance:

Navigation menu:
-Home
-This
-That
-Projects
--Client 1
--- Project 1 client 1 <-- View1 must be here
--- Project 2 client 1 <-- View2 must be here
--Client 2
--- Project 1 client 2 <-- View3 must be here
--- Project 2 client 2 <-- View4 must be here
-Another link

etc...

The view pages contain news items and memos for that specific project. I did this with taxonomy and filtered it with the views module.

The ultimate goal is to let users make their own project page by cloning a view and then modifying it. Thats why i'd like to make it easier for them to add a view directly to a submenu instead of adding a view trough the menu options.

I hope i was clear and that someone can help me with this issue.

Thanks in advance,

Aeroniro

CommentFileSizeAuthor
issue submenu in views.JPG28.53 KBDavid.W

Comments

dawehner’s picture

Priority: Critical » Normal

First it does not brake your site, so i don't think its critical.

I think you can rerange the menu item after creating the view.

bonobo’s picture

Priority: Normal » Minor

Setting this to minor --

Here is the workaround/way to do this:

When creating the view, add in the menu item.

Then, after saving the view, navigate to the menu settings (at admin/build/menu) and adjust the precise location as needed.

If you get it to the proper top-level menu, you can do the final positioning via drag and drop through the menu UI.

David.W’s picture

I knew about the workaround, but thanks anyway for the help. I'll use this workaround.
Sorry for setting the priority to high ;)

Greet,
Aeroniro

anyr’s picture

Thank you for the workaround! I agree it would be useful if it could be done directly from views though.

esmerel’s picture

Status: Active » Closed (fixed)
DieterAtWork’s picture

Issue summary: View changes

This is still not possible in the current Views module (7.x-3.8). Really sad to see, as you can't easily do this in-code, or can you? I would like to see this implement, should we reopen this issue? Or is this incorporated into Drupal 8 now?