Closed (fixed)
Project:
OG Panels
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2010 at 17:51 UTC
Updated:
13 Apr 2010 at 03:00 UTC
1. Create a custom home page using og_panels
2. Set the custom page as the groups home page
Result: An "Access Denied" message is displayed.
No help exists to overcome this.
There is a need to create/add a howto to describe how to setup a custom home page using og_panels that informs users that they MUST go to the Adminster >Site building>Pages and Enable System node_edit and system node_view. Once this is done you are able to see the home page correctly.
Comments
Comment #1
jimthunderbird commentedI just got this problem on a fresh Drupal 6.16 install with og_panels, trying to track it down and provide a fix for it without users having to going to the admin/build/page...
Comment #2
jimthunderbird commentedHere is one way to let og_panels bypass the node_view settings in admin/build/page.
1. In og_panels.module, add a new function at the end
2. In function og_panels_menu_alter, at the beginning add:
Comment #3
jimthunderbird commentedThe solution above has a problem, it will cause group post not showing up properly, here is an improved solution:
1. In og_panels.module, add a new function at the end
2. In function og_panels_menu_alter, at the beginning add:
Comment #4
jimthunderbird commentedThe solution above, while works, will not allow node_view template to be enabled again. After a second thought, I guess implementing hook_init and put an error message on the group homepage will just do the trick:
Comment #5
populist commentedthere may be a better way, but adding this in for now for -dev.