Posted by imjohnbon on March 20, 2011 at 11:11pm
Hi!
So I'm currently working on a fairly complex Drupal site, and need advice on the best way to approach a situation.
Is there any way to give each group it's own menu, that dynamically links to content related to that group? For instance, if a menu of a group has an "Events" link, clicking on it would take you to a list of Events specifically for that group?
However also, the admin of each group would be able to change the link titles of their respective menus? For instance, someone wants to call the Menu link for "Events" for "Schedule". And they could change it for their group, but not for every group on the site.
Comments
For the first question,
For the first question, that's something that Views can do with arguments. For the question about admins editing a group-specific menu, have you looked at OG Menu?
http://drupal.org/project/og_menu
Hey man, thanks so much for
Hey man, thanks so much for the reply. But are you sure Views can create dynamic links with arguments? Because anytime I try to put a dynamic link in a menu I get the "Views cannot create normal menu items for paths with a % in them."
And I did look at OG_Menu, however this project requires a Default Menu that is automatically set for every group, but then can be changed by the admins of the individual groups. Is this possible with OG_Menu?
I am also having trouble with views that use groups
I am trying to figure out the default OG Content view that comes with the OG example. What I am shooting for is to have a separate tab on each group page that takes the user to a page full of group affiliated content. Something along the lines of /node/%node/content
I have Fields: group_audience - gid under the CONTEXTUAL FILTER
My problem is that for some of my groups, the argument is working and the group content is displaying (in the preview on the views page). For other groups I have, the argument is not reading the node # and is not displaying the related content (in the preview on the views page).
I have reinstalled a fresh copy with the appropriate modules a few times and noticed only one consistency: Everything works fine with groups and content I created as an administrator until I create a Authenticated user. As the authenticated user, I create a group and content affiliated to the group; and then the problem arises. From then on, any group I create as admin or the authenticated user is not catching the views argument for Fields: group_audience - gid However, the original group I first created as administrator maintains the ability to catch the group argument and display the group affiliated content in the view preview
I have done a bunch of reading and I`ve gathered that the OG Views module is not the right route to accomplish this.
The module versions I have installed are:
Organic Groups 7.x-1.x-dev 2011-May-22
Views 7.x-3.0-beta3 2011-Mar-28
Panels 7.x-3.0-alpha3 2011-Mar-17
CTools 7.x-1.0-alpha4 2011-Mar-26
Entity API 7.x-1.0-beta8 2011-Mar-21
Features 7.x-1.0-beta2 2011-Apr-06
Any help with this would be greatly appreciated and would serve as an assett for anyone searching for help with this problem.
Thnx much in advance.
Ben