Demo Resource
RE: OG GHP & Tabs jkeck - Fri, 2008-07-25 15:30 This issue has been a pain for me too. I have asked several people on G.D.O. and pretty much got blown off everytime. My solution was to override the View menu option for Groups in my Template.php file in my theme(PHP saying IF Node-type == 'my group type' && Menu Item == 'View' - THEN menu title == 'Home'). It's a really hacky workaround, but it works none the less. Answers to your questions below: 1. Created view: og_ghp_filter_list. i. View Config 1) Provide page view: checked 2) URL: node/$group/home a) (at 1st I wasn't using /home on the end. I think I need something there, though…) You don't need anything at the end of the url. I'm using just node/% and the url for my groups are www.mysite.com/drupal/group-name 3) Provide Menu: checked a) Question: Does this mean that the group should magically show up somewhere in the Navigation menu? (It does not for me, but I might have deleted it from admin/build/menu when I was working on something else.) This means you can set this group to be somewhere as a link in a menu. The typical thing done here is to make it as a menu item under Groups in the Navigation Menu (I just create a block to display the groups as a list and do not use the nav menu) 4) Menu as Tab: checked 5) Make Default Menu Tab: checked 6) Parent Menu Item Type: Already exists a) (don’t really understand this…yet) I don't set any menu options in the view, I'm pretty sure these menu options are useless once using OG Panels Pages 7) Arguments: Group NID is first argument 2. Admin/og/og i. Homepage Presentation set to og_ghp_filter_list 3. admin/panels/views i. og_ghp_filter_list added to "Organic groups" category ii. View Type = embedded iii. Argument: OG: Group nid(s) 1) Argument source = from panel 2) Required contex = Group 3) (everything else at defaults) 4. admin/panels/panel-page i. Settings 1) Panel name = organization_homepage 2) Panel title = Org Hp 3) Path= node/% ii. Advanced 1) (Left these settings at defaults) a) Question: How do the menu settings here interact with the menu settings in the view? I don't really understand these settings myself. I have tried about every option possible and nothing seems usable iii. Context 1) Arguments a) NodeID i) (I have "Own Display" set for some other group node types - shouldn't matter…) Every group node type that is tagged w/ Own Layout. Everybody else will get the default layout iv. Content 1) (subtab) Node ID: Organization (it's a subtab because: 4.iii.1.a.i) a) Og_ghp_filter_list (URL: admin/panels/panel-page/organization_homepage/edit/content/argument_0-organization) i) Override title = unchecked 5. Groups > Group1 > Pages (node/93/og_panels) i. "Home" page created 1) Homepage radio button selected You should not have any of your subpages selected as the homepage. Your default homepage is already set by the panels page 2) Edit Page (link) a) Page Title = Home b) Published = checked 3) Edit Content (link) (node/93/og_panels/10/panel_content?destination=node%2F93%2Fog_panels) a) Og_ghp_filter_list (URL: node/93/og_panels/10/panel_content?destination=node%2F93%2Fog_panels) i) Question: How do these settings interact with the admin/panels/panel-page (4.iv.1) I don't quite understand your last question I have a feeling that some of what I'm doing is redundant...
