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
| Comment | File | Size | Author |
|---|---|---|---|
| issue submenu in views.JPG | 28.53 KB | David.W |
Comments
Comment #1
dawehnerFirst 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.
Comment #2
bonobo commentedSetting 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.
Comment #3
David.W commentedI knew about the workaround, but thanks anyway for the help. I'll use this workaround.
Sorry for setting the priority to high ;)
Greet,
Aeroniro
Comment #4
anyr commentedThank you for the workaround! I agree it would be useful if it could be done directly from views though.
Comment #5
esmerel commentedComment #6
DieterAtWork commentedThis 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?