-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site 1 manager - create menu items on site 1 #39
Comments
Group Content Menu looks like it will do what we need of if.
One question is how do we want to place the menus? Menu blocks can be added to the primary and secondary theme regions or we can place them using field. |
Thanks @stephen-cox, sounds good ! I think @markconroy and @ekes are best place to discuss the placement question.... could even render a block in a twig template based on options I imagine... anything to avoid config deployment issues, right? |
@stephen-cox don't place the menus anywhere for now, and once we get this merged and I play around with it, we can decide on the approach then. |
[aside- as I ussume this is for the manager to add manually] |
@ekes groups menus can be created automatically when a group is created. This strikes me as the simplest thing; create 2 menus that are only rendered if there's anything in them, but menu creation could be done as part of the group creation wizard. It's a simple configuration option that can be turned on or off, so I will leave it turned on for now, but would be easy to turn off. |
@markconroy There's a PR adding main and utility menus here: localgovdrupal/localgov_microsites_group#16 They still need to be placed on the page. It would be easy enough to place blocks in the primary and secondary menu regions, but these don't look to be rendered the localgov_microsite_base theme |
* Added main and utility group menus localgovdrupal/localgov_microsites#39
@markconroy passing this to you to render the menu blocks. |
I'm adding regions to the theme so will create a PR adding blocks for this |
User story
As a site 1 manager
I want to create menu items on site 1
So that I can add more content and allow people to navigate to it
Notes
This module seems favourite: https://www.drupal.org/project/group_content_menu
We're expecting two menus:
Make sure to... include this in the install config of the localgov_microsite_group module.... to ensure the menu plugin can be in the group -
/admin/group/types/manage/microsite/content
Questions:
Acceptance tests
The text was updated successfully, but these errors were encountered: