I have used the Default Menu Links option which comes with OG Menu and it did correctly create menu items for each OG Menu. However, I have found that while I can disable a menu item, once created, these menu items can not be be edited or deleted.

This may be the default way Drupal Menus work, but it was an issue for me when I wanted to change the url of one of the links (an not be a global change). Instead of being able to edit it, I needed to disable it and create a new menu link manually.

Comments

jdesrig created an issue. See original summary.

  • rv0 committed e597f1f on 7.x-3.x
    Issue #2662618: Can't edit or delete Menu Items created by the Default...
rv0’s picture

Version: 7.x-3.0 » 7.x-3.x-dev
Status: Active » Closed (works as designed)

Hmm this is indeed sorta buggy. The delete function does appear when you edit an individual item from the group menu administration.

The original author(s) of og_menu_default_links wrote it so that all links are "created" by og_menu. I understand the reasoning behind this, but I also understand how in some usecases this might be unwanted.
In drupal, custom made links are stored in the database as "created" by "custom", so we want to mimic this behavior here.
I created a variable called og_menu_default_links_module, this will control how default links are saved.
If you set this variable to custom it will work for your usecase, however this isn't a complete fix, hence I put this as a hidden variable..

You can set the variable with drush:
drush vset og_menu_default_links_module custom

If anyone knows a better way to fix this, please re-open and provide a patch.