Project:Organic groups
Version:5.x-6.1
Component:og_panels.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I modified og_panels module so it can have panels reusable for all groups/groups with the same type.

First, I added a column named 'type' in table {og_panels}, that can have one of the following values:

  • empty - this panel is used only for single nid
  • content type - this panel is used for all groups with this content type
  • * - this panel is used for all groups

In this patch:

  • og_panels_form have two more checkboxes: use for all groups and use for all groups with the same content type
  • og_panels_form_submit modified to handle column 'type'
  • og_panels_table have column 'use in' to inform administrators where this panel will be used
  • og_get_all retrieves all panels based on nid, content type, and type='*'
AttachmentSizeStatusTest resultOperations
og_panels.module.patch26.58 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» needs work

Could you try the new og_blueprints module and see if it suits your needs? i would rather keep og_panels simple. If it doesn't, we'll figure out how to proceed.

#2

Status:needs work» fixed

i think there are better solutions for "use for all groups" and "use for all groups of this type". you just use panels pages. see http://www.tejasa.com/node/160

#3

Ahhh! That's what I've looked for! I have stuck for hours before I decided to modify the module. Thanks for your solution.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here