restrict content types checkboxes

moshe weitzman - November 12, 2008 - 03:17
Project:Smartqueues for Organic Groups
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

I think we want to only show the content types which behave as group posts on the subqueue details form

#1

ezra-g - November 15, 2008 - 16:59

Agreed. We'll also want to update the list of eligible node types for a queue when one of those types loses its eligibility to be a group homepage.

#2

ezra-g - October 23, 2009 - 01:43
Status:active» needs work

Actually, we only want to do this when the "Restrict to posts within a group" option is checked, to preserve the use case when groups want to add non-group content to their queue.

We should probably remove those options from the form with some javascript when the user checks that button. In any case, to save 15 seconds when I return to this issue, attached is a patch that makes this change server-side.

AttachmentSize
333211.patch 877 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.