Closed (works as designed)
Project:
Creative Commons
Version:
6.x-1.0-beta3
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2010 at 08:36 UTC
Updated:
9 Aug 2010 at 15:06 UTC
What about setting a group wide licence that would be applied by default to the CC content in this group?
Thanks for this great module
Comments
Comment #1
kreynen commentedCode for a form_alter like this exists in the Open Media Show module. In Open Media implementations, the default for several fields (including Creative Commons) can be synchronized with settings of the Organic Group node (om_project).
If there is enough interest a generalized version of this could be added to the Creative Commons module, but I think in most use cases you'd be better off with a custom module.
In om_show, the Creative Commons form element is moved to a fieldgroup. I most cases, you probably just set $form['creativecommons']['select_license_form']['cc_license_uri']['#default_value'] = $project_node->cc->uri;
This approach also allows you to set the default for enabled attributes as well as the license.