Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 May 2011 at 22:30 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
indytechcook commentedYeah, that would make navigation easier in admin/admin_menu and also setting the active menu item.
Comment #2
indytechcook commentedTagging with Release blocker
Comment #3
indytechcook commentedSo the first step is here: #1356088: Change Path for block types
But i'm not sure exactly why the admin menus are not being created. The menu_router and menu_links table structure are the same.
Comment #4
alexweber commentedAs far as I know this is more a limitation of the Entity API's automagic Admin UI stuff than anything else. Check our profile2, they have exactly the same problem. I've just been playing with custom entities this weekend and hit the same roadblock, it's kind of annoying.
Comment #5
indytechcook commented@alexweber
Thanks for the comment but it really doesn't apply here. I don't use entity api amin ui because it requires your bundles being entities themselves. So it should be possible. I did look into it at one time, I even modeled it exactly like ctypes but I couldn't get it to work.
Comment #6
alexweber commented@indytechcook I see... Fair enough! :)
Comment #7
barrapontoI've fixed the page titles in admin/structure/manage/%bean-type, block/add/%bean-type and block/edit/%bean_delta. I spent a lot of time trying to get the breadcrumbs straight for the admin/structure/manage/%bean-type/{fields,display} but I couldn't understand why it was broken. So I patched a workaround using hook_menu_breadcrumb_alter. It is not pretty, but it works.
Comment #8
barrapontoComment #9
alexweber commented@barraponto, I've reviewed the patch and it doesn't seem to address the issue :S
It does, however, address another bug. You should open another issue for this patch!
Comment #10
alexweber commentedAttached is a patch that adds the menu structure suggested by the OP. It doesn't have the Manage Fields/Display links yet.
It isn't as slick as what the authors were trying to do, using token replacements in the menu path but works just the same! :)
Comment #11
indytechcook commentedThanks! Looks good. Setting to RTBC so remember to push.
@alexweber woudl you mind elaborating on what bug @barraponto was fixing?
Comment #12
indytechcook commentedFixed in RC4 http://drupal.org/node/1538818
Comment #13
alexweber commented@indytechcook yeah np it was something about breadcrumbs being off, but that should be fixed as a side effect of this patch :)
The other issue was this one #1537456: Better titles for bean/add/%bean-type and bean/edit/%bean-delta