Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Per discussion below - COD will use OG Menu module as it provides an "automated" way for adding the menus to each OG.
Now to make it work :)
Comment | File | Size | Author |
---|---|---|---|
#3 | cod-support-event-menus-2014507-3.patch | 54.36 KB | TwoMice |
Comments
Comment #1
chrisguindon CreditAttribution: chrisguindon commentedI am trying to solve that same exact problem.
Right now, I am using og_theme so that I can specify a theme for each event. I also created a new menu for each theme. This will allow me to control each event individually.
Would og_menu allow me to do that also?
Comment #2
kclarkson CreditAttribution: kclarkson commented@chris
Yes this should work. In my case all of the events are using the same theme as we use a "header" image that is designed to give the event a different identity. So for us we use OG Menu's to automatically add menus to each OG (Event).
How this works is that you define the links in the OG settings. We use the OG Content views and add them to custom panel pages for each section. Then when you need to add additional pages that might be different you can just add the content manually.
You can see the example here as every section listed under resources is an OG that used OG menus with automatic links to News, Resources, Upcoming Events: http://cetl.kennesaw.edu/technology-enhanced-learning
Comment #3
TwoMice CreditAttribution: TwoMice commentedAt the Community Summit at DrupalCon Amsterdam, we discussed using og_menu to create per-event menus in a separate block, similar to what's described in #2. This patch modifies various features (and adds the feature "cod_menu") to remove per-event navigation into the "OG Menu: single" block. (Note that in this configuration the "OG Menu: multiple" block seems to perform exactly the same way, too.)
There are also a couple of corresponding things that would need to be done in the main COD module, I believe:
1. Include og_menu in the profile.
2. Some steps in the install procedure to configure an og_menu for the DrupalCamp Antarctica event (this is configured automatically for all new events, but from what I can tell, the requisite configuration is not enabled until after the installation creates the Antarctica event, thus the automatic menu creation doesn't happen there).
I hope this is helpful. Please let me know if there are question or concerns.
Thanks!
Comment #4
DyanneNovaThanks for your work on this! We'll take a look and see about getting this in asap.
Comment #8
kclarkson CreditAttribution: kclarkson commentedAny update on OG menus being implemented. It looks like Chris Patch failed testing but its a good start.
Comment #9
mrconnerton CreditAttribution: mrconnerton commentedComment #10
kclarkson CreditAttribution: kclarkson commentedIt seems this issue keeps getting overlooked. Can we get some more eyes on the Menu solutions?
Right now we are using tabs for the menus. What happens when you need singular menus for just one event? Or you want to put the menus in a different location?
@japerry
Comment #11
mrconnerton CreditAttribution: mrconnerton commentedMy solution for last year was to create a custom menu for the event and use context to place it / disable the primary one. Since we are all making events for our camps this year I'm sure we will get some progress soon. I haven't looked at OG menu at all yet.
Comment #12
DyanneNovaWe're working on this now and planning to get this in before DrupalCon LA.
Comment #13
japerryComment #14
hestenet