Parent item select list only restricts options for page content type
kjay - June 6, 2009 - 19:28
| Project: | OG Menu |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
The code in version 1.3 and the current 1.x dev version only restricts parent menu items if the content type is page.
Since OG allows any content type to be assigned for use as a group post, the form_alter function needs to dynamically adjust for any group post form id.
The attached patch achieves this by using the og_get_types() function to return a list of group post content types and iterating through these to test the form id for a match.
| Attachment | Size |
|---|---|
| og_menu.patch | 4.18 KB |

#1
I'm running into this issue too, and the patch helps alot! The one issue i still see with this patch is that group admins can edit their group node too and that node has a menu drop down that shoes all menus, not just the ones allowed by the og_menu module.
its a bit off topic for this post, but it might make more sense for the og_menu module to provide its own permission for managing group menu items rather than requiring the administer menu permission as it currently does.
also, this seems like an old issue and the issues keep stacking up. are the maintainers still active here?