Hi,

I'm trying to install and configure this module for Drupal 8.
The README.txt is not helping at all, since it seems to be related to the Drupal 7 version of this module (?)
I'm diving into the code to see how it's supposed to work.
I am creating a new "OG menu" entity at /admin/structure/menu/ogmenu, but not sure how to proceed after that, to get an actual menu for my OG nodes. Also, when creating the "OG menu", it gives me the option to be a group or group content. Not sure whether I need to select one of those (group content I would assume), or nothing at all.

I didn't use the D7 version of the module previously, so maybe I'm missing a crucial understanding.
However, from the description of the module, I would imagine being able to create a menu / menu links when I manage my group node

A quick installation guide would go a long way.
I'll try to provide a patch in case I can figure out how it works, to save other people from having to to do the investigation as well.

Thanks for your work on the D8 port!

Comments

svendecabooter created an issue.

pfrenssen’s picture

It was not yet possible to create menus through the UI, you could create them via code:

OgMenuInstance::create([
  'type' => $menu_instance_id,
  OgGroupAudienceHelperInterface::DEFAULT_FIELD => $group->id(),
])->save();

I've made this a bit easier now in the latest dev version. I provided an option (in /admin/config/group/og_menu) to automatically create menus when new groups are created. I have also cleaned up the UI at /admin/structure/menu/ogmenu so the options for group and group content are no longer shown. This should make it a lot easier to understand. FYI in D8 the OG Menu instances are simply a group content type :)

We also need to take a look at the README indeed.