Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to make all of the audience boxes checked by default on the node creation form?
Comments
Comment #1
walden CreditAttribution: walden commentedAnswered my own question:
You can set the audience check boxes to be checked by default by adding '#value' => $subs,
around line 1746 in og.module. you can also search for:
$form['og_nodeapi']['visible']['og_groups'] = array(